Virtual Probing

ABSTRACT

A method and apparatus for generating one or more transfer functions for converting waveforms. The method comprises the steps of determining a system description, representative of a circuit, comprising a plurality of system components, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit. One or more transfer functions are determined for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes. The generated transfer functions are then stored in a computer readable medium.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 11/888,547, filed Aug. 1, 2007 by Peter Pupalaikis et al., entitled “Virtual Probing”, currently pending, which in turn claims the benefit of U.S. Provisional Patent Application No. 60/835,029, filed Aug. 2, 2006, entitled METHOD AND APPARATUS FOR PROBE COMPENSATION, and U.S. Provisional Patent Application No. 60/861,678, filed Nov. 29, 2006, entitled PROBE COMPENSATION, the entire contents of each of these applications being incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to probes and probing systems especially as it relates to their usage with digital storage oscilloscopes.

BACKGROUND OF THE INVENTION

A digital storage oscilloscope (DSO) is one of the most commonly used instruments by engineers and scientists to display and analyze waveforms in electrical circuits. Often, a probe is utilized to connect the DSO to a circuit being measured and provides a mechanism for transmitting the signal in the circuit to the oscilloscope input.

There are certain important features or characteristics of probes worth noting. The first characteristic is the probe's loading. Since the probe is connected to a circuit under test, the loading can affect the circuit or change its operation. Since the probe usually shunts the circuit, the loading is best when the probe looks like a high impedance shunt element to the circuit. Another feature of interest is the ability of the probe to be connected at the correct measurement point and is usually addressed by making the tip of a probe as small as possible and by providing electrical contacts in the circuit that can be placed as close as possible to the desired measurement point. Still another feature is the impedance match of the probe output to the DSO channel input. When the probe's output impedance is matched to the DSO channel input, the transmitted signal passes into the scope undisturbed. Finally, and no less important is the general signal fidelity aspects internal to the probe such as magnitude and phase response.

Generally, when all of the aforementioned probe characteristics are good, the probe is useful for use with the DSO in the acquisition and measurement of signals occurring in the circuit under test.

As of late, high performance DSOs and probes are being utilized to measure extremely fast circuits and signals. The speed of these circuits is described by the frequency and risetimes of signals present in the circuits. When the frequencies of interest are very high and the risetimes are very short, it becomes very difficult to develop DSOs and probes with precision and accuracy sufficient for making accurate measurements. Specifically, many of the characteristics previously described become degraded.

At high frequencies, a probe's loading usually gets worse, causing the probe to interact more and more with the circuit being measured. When loading effects worsen, the probe sets up reflections due to impedance discontinuities in the circuit at the probing point. High speed measurements are often made on very small circuit features which make it difficult to access the desired measurement point. Often the desired measurement point is inside a chip and is completely inaccessible. It is not possible to make a perfect impedance match to the scope at high frequencies. This is a problem with the DSO design as well as the probe design. Finally, the probe exhibits more and more signal fidelity degradations internally as frequencies increase.

The problem of internal probe signal fidelity degradation has been addressed through the use of digital compensation. These are digital signal processing (DSP) methods that build filters to compensate for the probes response. The DSP methods are utilized inside the DSO using digital filters stored in the probe and are generated during a probe calibration step in the manufacture of the probe. Alternatively, these filters are derived from probe response information stored in the probe and generated during a probe calibration step in the manufacture of the probe.

In a coarse manner, the filters or responses that are stored in the probe have been utilized to compensate for probe loading effects. However, this compensation can only act in a coarse manner because the compensation methods currently used address only a fixed compensation that addresses the loading as if the probe was being utilized in the exact environment in which it was calibrated.

These filters may comprise analog or digital filters. Analog compensators, such as those described in U.S. Pat. No. 6,856,126 issued to McTigue, for example, comprise fixed filters, and are therefore not adjustable in accordance with the present invention. Even prior digital compensators fail to address the issues noted above. Typically, this type of digital probe compensation is handled in two ways—either the scope and probe combination is calibrated together on a given channel (the probe compensation is valid only so long as the probe is connected to the scope channel on which it is calibrated—it cannot be moved to another channel or another scope), or the scope/probe interface is designed to extremely high tolerances so that it can be ignored and is not considered and the probe compensator forms a fixed response.

US patents to Sekel (U.S. Pat. No. 6,870,359) and Pupalaikis (U.S. Pat. No. 6,701,335) provide for dynamic self calibration which is capable of compensating nearly from the probe tip through the scope (there will always be some portion of the tip not included in his calibration method). These methods are capable of accounting for the separate probe parts and the scope probe interface because the calibration signal could be injected near the tip and measured through the entire channel. However, this type of calibration requires complex circuitry and procedures to accomplish the compensation. While this method does provide a benefit of accounting for changing conditions of the parts over time and temperature as his does, the system is not one which can be easily implemented at, for example, a remote location not having an appropriate test and calibration fixture.

What is needed is a solution for addressing the probe loading problems in a general sense (i.e. considering the circuit under test). What is needed is a solution for probing inaccessible points. What is needed is a solution for dealing with the mismatch between the DSO and the probe. What is needed is a solution for determining the error bounds on measurements utilizing probes.

As a final note, the probe is generally manufactured with separate parts that are assembled. Often these parts are assembled by the scope and probe user at the time of use. Mechanisms have been provided for the storage of separate information corresponding to the individual probe parts. What is needed is a solution that combines measurements of separate probe portions into an aggregate probe measurement and using this probe measurement for effective probe compensation.

OBJECTS OF THE INVENTION

It is an object of this invention to provide a method of probe compensation that provides for accurate measurements when the probe is utilized in a wide variety of situations.

It is another object of this invention to compensate for probe loading effects in a general sense.

It is a further object of this invention to provide for signal measurements in inaccessible locations (i.e. at points where the probe cannot be physically connected).

It is a further object of this invention to provide for compensation of the impedance mismatch between the DSO and the probe.

It is a further object of this invention to provide compensation even when the individual probe parts are interchangeable.

It is a further object of this invention to provide for the determination of error bounds on measurements utilizing probes.

Still other objects and advantages of the invention will in part be obvious and will in part be apparent from the specification and the drawings.

SUMMARY OF THE INVENTION

In accordance with the invention, a method and apparatus are provided that consider the oscilloscope and probe interface in its entirety by measuring at least the return loss of the probe output and the scope input, storing these measurements in the oscilloscope and probe, and processing these measurements to form a better compensation. This method and apparatus also allow for independent measurement and calibration of each of the probe's parts, each of these measurements later being combined to provide a composite measurement of the probe.

Therefore, the invention includes the capability to provide virtual probe compensation, i.e. providing voltages that are present at any other points in a circuit other than where the probe tips are able to be connected. Thus, it is possible to determine a voltage value at a point in a circuit, even if it is not possible to directly connect a probe thereto. Also, this invention is capable of determining voltages that would be present at the location of the probe connection as well as other points in the circuit as if the probe were not connected. This is because even perfect calibration of a probe to a probe tip, as addressed by the prior art noted above, cannot provide measurements of the voltage present at other nodes into the circuit, or as if the probe were not connected without considering the characteristics of the circuit under test. It is only the present invention that can provide these benefits.

Therefore, in accordance with the invention circuit and probe characteristics may be provided, filters may be calculated and applied to digitized waveforms to produce other waveforms representative of other voltages in the system, especially the concepts of generating these waveforms for other locations in the circuit, and/or as if the probe were not connected.

The general situation is shown in FIG. 1. In FIG. 1, a typical desire is to measure the voltage at the load. A probe is inserted into the middle of the transmission line as shown in FIG. 2. It is shown inserted into the middle of the line to represent the situation in which the probe cannot physically access the terminals at the load or to represent that it is more advantageous to probe the system at a different location than the load.

When the probe is connected to the DSO, the terminal point is the load inside the DSO.

A probe often consists of multiple parts. It typically consists of the tip, the body, and a cable from the body to the scope connection. In a calibration phase, all of these probe parts are characterized and the data that characterized the probe parts are stored in a non-volatile storage element inside the probe and accessible by the scope when the probe is inserted. Similarly, in a calibration phase of the scope, the scope input is characterized and the data is stored inside the scope.

When the probe is inserted into the scope, connecting it to a scope channel, the scope detects the probe insertion and reads out the data stored in the probe. Often this data is represented by s parameters and the s parameters of the probe form a system represented by a signal flow graph as shown in FIG. 4. The signal flow diagram of the probe parts are reduced to a single two-port representation. This representation along with the reflection coefficient of the scope input are utilized in a flow diagram as shown in FIG. 5. FIG. 5, shows the scope and probe along with an idealized tee used to pick off the transmission line. The diagram without the probe connected is represented in FIG. 3.

It is becoming increasingly common that engineers utilizing the measurement equipment have measurements or can obtain measurements of the s parameters of the circuit under test. These can be generated by a vector network analyzer (VNA) or through simulation. In some instances, they can be estimated crudely, such as stating that the transmission line is such a length with such a characteristic impedance. Either way, the diagram of FIG. 5 can be thought to represent the complete circuit under test with the probe connected.

Utilizing the flow diagrams of FIG. 3 and FIG. 5, the system can be solved for a variety of voltage relationships with respect to the voltages of any sources applied. Furthermore, the flow diagrams can be solved for a variety of voltage relationships, all of which are relative to the voltage appearing at the scope input in FIG. 5, independent of the source voltage applied. Using these voltage relationships, digital filters are generated and combined with scopes internal filters used for compensation of input signals to provide a substantially correct version of the signal appearing at any of the nodes shown in FIG. 3 or FIG. 5 due to a voltage digitized by the oscilloscope.

FIG. 3 and FIG. 5, along with accompanying s parameter measurements of the circuit elements, present an accurate circuit description to the level of accuracy of s parameter measurements. If s parameter measurements are simulated or approximated, it is possible to further calculate the errors present in the compensation, thus placing error bounds on the measurements, both in the frequency domain and the time domain.

This summary provided pertains to the simple case of a single-ended system with a single-ended probe and one generator. It will become apparent in the detailed description of the many embodiments that more complicated systems can also be compensated.

BRIEF DESCRIPTION OF DRAWINGS

For a more complete understanding of the invention, reference is made to the following description and accompanying drawings, in which:

FIG. 1 is a typical single-ended circuit to be measured;

FIG. 2 is a typical single-ended measurement configuration;

FIG. 3 is a signal flow graph representing the typical single-ended circuit to be measured in FIG. 1;

FIG. 4 is a signal flow diagram containing single-ended probe parts;

FIG. 5 is a signal flow diagram representing the typical single-ended measurement configuration as shown in FIG. 2;

FIG. 6 is a signal flow diagram representing the circuit in FIG. 1 with the probing point identified;

FIG. 7 is a typical differential circuit to be measured;

FIG. 8 is a typical differential measurement configuration;

FIG. 9 is a signal flow graph representing the typical single-ended circuit to be measured in FIG. 7;

FIG. 10 is a signal flow diagram containing differential probe parts;

FIG. 11 is a signal flow diagram representing the typical differential measurement configuration as shown in FIG. 8;

FIG. 12 is a signal flow diagram representing the circuit in FIG. 7 with the probing point identified;

FIG. 13 is a signal flow graph showing a differential probing configuration utilizing a 6-port to represent the probe connection;

FIG. 14 is a signal flow graph showing a differential probing configuration utilizing two single-ended probes;

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 shows a typical single-ended circuit to be measured. The circuit is single-ended because all voltages of interest along the circuit are referenced to ground. The circuit consists of a voltage source [1] in conjunction with a source impedance [2] driving a transmission line [3] into a load [4] with a given load impedance. The transmission line is a typical medium for data communications. A transmission line will have a characteristic impedance and an electrical length. It is understood that the circuit is shown simplistically and that the transmission line actually represents a much more complicated situation. It will be shown that the simplicity of the situation represented by FIG. 1 in no way degrades the validity of the compensation as FIG. 1 is only a graphical method to visualize the situation.

In order to measure a voltage in this circuit, a probe is inserted as shown in FIG. 2. The probe is shown as a box, representing the probe body [5], connected through a line, representing the probe tip [6] and driving a transmission line (usually a cable) [7] of its own into a load at the scope channel input [13]. The probe tip [6] is shown as breaking the transmission line of the circuit into two portions—a left [8] and a right [9] portion and is shown connected to the circuit in a “tee” arrangement [10]. The left [8] and right [9] portions of the transmission line in FIG. 2 equals the entire transmission line [3] in FIG. 1. Generally, a tee would never be utilized to split a microwave circuit because it generates an impedance discontinuity, but the probe impedance has been purposely designed to be very high. If it were infinitely high, the tee in conjunction with the infinitely high impedance degenerates to a microwave element that has no effect on the transmission line at all. This can be seen more clearly by analysis of subsequent signal flow diagrams.

In FIG. 2, the probe is shown breaking the transmission line to represent a multitude of situations. One situation is that the engineer making a measurement intended to measure the voltage at a particular location along the line at the point of probe connection [10]. Other situations that are equally likely is that the engineer intended to measure the voltage at the entry to the transmission line [11] (i.e. the source) or at the load [12]. As mentioned previously, it is often not possible to get physical access to the source or load directly. Another possibility that will be shown to be enabled by this invention is that the engineer wants to measure the voltage at the load, but the signal is so attenuated by the transmission line that he cannot get a low noise measurement at this point. What the engineer would like is to measure the voltage at a location where the signal was larger relative to the noise and infer the voltage at a point that was more attenuated. A measurement at the source would generally provide such a situation and is not precluded here. If the user can get direct access to the source at [11], then the situation where the left portion of the transmission line [8] is nothing and is simply a special case of that shown in FIG. 2.

When the probe is inserted as in FIG. 2, the signal at the probing point [10] is transmitted to the scope input [13] and digitized by the scope, thus measuring the waveform voltage. This arrangement, however, has been shown to have many sources of degradation of the measurement accuracy. Two already mentioned are probe loading and the location of the measurement. Since the probe cannot present infinite impedance, it serves to load the circuit at the probing point. The probe impedance sets up an impedance discontinuity in the circuit and therefore causes reflections. Since the probe may not be positioned exactly at the load or source, the measurement may not even be measuring the voltage of interest, but also the effect of reflections tends to worsen the further one gets from the source or load point. The probe itself and the transmission line it drives are connected to the scope making a generally imperfect impedance match, so the scope itself sets up reflections. Usually, the probe is designed with very high reverse isolation, so these reflections usually don't present a problem to the circuit, but they may present a problem in the measurement.

Because of all of the difficulties mentioned, circuit designers increasingly rely on simulation and modeling. This simulation and modeling cannot supplant actual measurements because they can only be used to the extent that the simulation or model matches reality and only measurement can determine how well it matches. Some things, however, are easier to simulate and model (and measure) than others. For example, many techniques exist to measure characteristics of circuits. The specific techniques especially relevant to this invention are measurements of linear circuit characteristics as are performed utilizing a vector network analyzer (VNA), time domain reflectometry instrument (TDR), or time domain network analyzer (TDNA). These instruments are capable of determining the behavior of multi-port systems to various stimuli. In a sense, they are utilized to generate a model to describe what voltages would be measured if various stimuli were applied. What is being proposed here is a method of combining VNA or TDR measurements that determine the behavior of the system to various stimuli with actual scope measurements determined by the system behavior and the actual system stimuli to predict how the scope measurement is affected and further counteract or compensate for the effects.

The invention relies on VNA or TDR measurements that produce multi-port measurements usually represented by scattering parameters (or s parameters) and on methods of constructing and analyzing system models utilizing these s parameters and methods of signal flow graph analysis. Both s parameters and signal flow graphs are well known to those skilled in the art of the engineering of microwave systems. A signal flow graph representation of the system in FIG. 1 is shown in FIG. 3. The flow graph shows a two port model of the transmission line, a reflection coefficient for the source and load and a driving source. The diagram has four dependent variables, the forward and backward propagating wave at the source (sa and sb, respectively) and the forward and backward propagating wave at the load (la and lb, respectively). The actual voltage measured at the source is the sum of the voltages sa and sb multiplied by the square root of a normalizing reference impedance Z₀ used in the s parameter measurements (usually 50 Ohms). The same is true for the voltages at the load.

Nomenclature used in these signal flow diagrams is as follows. First, a multi-port device is shown as a device with circular terminals labeled with either an “a” or a “b”, and a number. The “a” represents a wave input to the port and a “b” represents a wave output from the port. The number represents the port number. Devices are connected by abutting “a” terminals of one device with “b” terminals of the other device and vice-versa. Devices are labeled with a box in the middle indicating the name of the device. Inside the device, arrows are shown connecting the terminals. Each arrow shown internal to the device indicates multiplication of a wave propagating from an “a” terminal to a “b” terminal with the understanding that the wave is multiplied by an s parameter of the device. The implied s parameter that is not shown for a connection from a port “a[x]” to port “b[y]” internal to a device labeled “[N]” is “s[n][y][x]”. For example, FIG. 3, the implied s parameter between the port labeled “a1” and the port labeled “b2” of the device transmission line labeled “T” is “st21”. When arrows are shown external to a device, either the multiplication factor is directly indicated, or is assumed to be unity if not indicated. For single port devices, “Γ” replaces “s” and the port numbers are excluded. For example, FIG. 3, the implied s parameter between the port labeled “a1” and the port labeled “b1” of the load labeled “L” is “Γ/”. s parameters are frequency dependent parameters.

In these and subsequent descriptions, signal flow diagrams, such as FIG. 3, are said to represent a circuit topology in the sense that they show circuit elements and their connections. The points of connection are called nodes and are generally labeled. As mentioned, pairs of nodes form voltages (with a multiplicative constant of the square root of the reference impedance). These are called node voltages and are referenced to ground. Pairs of node voltages form differential node voltages (through subtraction) or common mode node voltages (through averaging). The associated nodes that form differential and common mode voltages are apparent through labeling. For example, a set of nodes labeled tlpa, tlpb, tlma, tlmb would form node voltages Vtlp and Vtlm (for the plus and minus voltages referenced to ground, respectively). If the differential voltage was the voltage of interest, these might be further grouped to form the voltage Vtl, where the differential nature is implied, but will be understood from the context.

The s parameter measurements of the circuit elements describe input and output characteristics of the elements. The circuit topology (including node connections) along with the measurements of the input and output characteristics of the circuit elements (including the probes and the scope channels) form a circuit model.

In accordance with the present invention, at the time of probe manufacture, the parameters are measured for the various portions of the probe independently. These portions generally include the tip, the body and the cable to the scope. These are all measured and stored in a machine readable form that is linked in some manner to the part itself. Usually, this is done by placing the s parameters in nonvolatile memory inside the part itself. The same is done for the scope at the time of its manufacture, specifically the reflection coefficient of the scope input channel. At the time that the probe is connected to the scope, the scope obtains all of these s parameters and builds conceptually a signal flow graph as shown in FIG. 4. In FIG. 4, the probe is shown as a probe tip [18], labeled “I”, a probe body [19], labeled “B” and the probe cable and connection to the scope [20], labeled “O”. FIG. 4 asserts the following relationships:

$\begin{matrix} {{\begin{bmatrix} {{spi}\; 11} & {{spi}\; 12} \\ {{spi}\; 21} & {{spi}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {pia} \\ {pbb} \end{bmatrix}} = \begin{bmatrix} {pib} \\ {pba} \end{bmatrix}} & {{Equation}\mspace{14mu} 1} \\ {{\begin{bmatrix} {{spb}\; 11} & {{spb}\; 12} \\ {{spb}\; 21} & {{spb}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {pba} \\ {pob} \end{bmatrix}} = \begin{bmatrix} {pbb} \\ {poa} \end{bmatrix}} & {{Equation}\mspace{14mu} 2} \\ {{\begin{bmatrix} {{spo}\; 11} & {{spo}\; 12} \\ {{spo}\; 21} & {{spo}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {poa} \\ {scb} \end{bmatrix}} = \begin{bmatrix} {pob} \\ {sca} \end{bmatrix}} & {{Equation}\mspace{14mu} 3} \end{matrix}$

Equation 1, Equation 2 and Equation 3 leads to the following equation:

$\begin{matrix} {\left\lbrack \begin{matrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 11} & 1 & 0 & {{- {spi}}\; 12} & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 21} & 0 & 1 & {{- {spi}}\; 22} & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 11} & 1 & 0 & {{- {spb}}\; 12} & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 21} & 0 & 1 & {{- {spb}}\; 21} & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {spo}}\; 11} & 1 & 0 & {{- {spo}}\; 12} \\ 0 & 0 & 0 & 0 & {{- {spo}}\; 21} & 0 & 1 & {{- {spo}}\; 22} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{matrix} \right\rbrack  \cdot {\quad{\begin{bmatrix} {pia} \\ {pib} \\ {pba} \\ {pbb} \\ {poa} \\ {pob} \\ {sca} \\ {scb} \end{bmatrix} = \begin{bmatrix} {bsi} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ {bso} \end{bmatrix}}}} & {{Equation}\mspace{14mu} 4} \end{matrix}$

The solution to Equation 4 is given by:

$\begin{matrix} {\quad{\begin{bmatrix} {pia} \\ {pib} \\ {pba} \\ {pbb} \\ {poa} \\ {pob} \\ {sca} \\ {scb} \end{bmatrix} = {\quad\mspace{20mu} {\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 11} & 1 & 0 & {{- {spi}}\; 12} & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 21} & 0 & 1 & {{- {spi}}\; 22} & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 11} & 1 & 0 & {{- {spb}}\; 12} & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 21} & 0 & 1 & {{- {spb}}\; 21} & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {spo}}\; 11} & 1 & 0 & {{- {spo}}\; 12} \\ 0 & 0 & 0 & 0 & {{- {spo}}\; 21} & 0 & 1 & {{- {spo}}\; 22} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix}^{- 1} \cdot \left\lbrack \begin{matrix} {bsi} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ {bso} \end{matrix} \right\rbrack}}}} & {{Equation}\mspace{14mu} 5} \end{matrix}$

Equation 5 allows for the solution of an equivalent set of s parameters for the probe given by:

$\begin{matrix} {{\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} \\ {{sp}\; 21} & {{sp}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {pia} \\ {scb} \end{bmatrix}} = \begin{bmatrix} {pib} \\ {sca} \end{bmatrix}} & {{Equation}\mspace{14mu} 6} \end{matrix}$

The s parameters in Equation 6 are solved utilizing Equation 5:

$\begin{matrix} {\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} \\ {{sp}\; 21} & {{sp}\; 22} \end{bmatrix} = \begin{bmatrix} \left. \frac{pib}{pia} \right|_{{bso} = 0} & \left. \frac{pib}{scb} \right|_{{bsi} = 0} \\ \left. \frac{sca}{pia} \right|_{{bso} = 0} & \left. \frac{sca}{scb} \right|_{{bsi} = 0} \end{bmatrix}} & {{Equation}\mspace{14mu} 7} \end{matrix}$

FIG. 5 shows the signal flow diagram representing FIG. 2. FIG. 5 assumes that the system s parameters are provided. As mentioned, these were measured on the circuit. Generally, the capability will exist to measure the entire transmission line in the circuit, but simulation and calculation are often necessary to separate the transmission line such that it can be represented by two separate sets of s parameters representing the left portion and right portion relative to the anticipated probing point. In other words, the left portion of the transmission line [21] in cascade with the right portion [22] is equivalent to the entire transmission line [14]. Given the probe s parameters calculated in Equation 7 as

$\quad\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} \\ {{sp}\; 21} & {{sp}\; 22} \end{bmatrix}$

corresponding to the probe [24], the reflection coefficient of the scope Fsc calibrated and stored in the scope corresponding to the scope input [25], the reflection coefficients

$\begin{bmatrix} {{stl}\; 11} & {{stl}\; 12} \\ {{stl}\; 21} & {{stl}\; 22} \end{bmatrix}\mspace{14mu} {{and}\mspace{14mu}\begin{bmatrix} {{str}\; 11} & {{str}\; 12} \\ {{str}\; 21} & {{str}\; 22} \end{bmatrix}}$

corresponding to the left portion [21] and the right portion [22] of the transmission line [14], the source reflection coefficient Γs corresponding to the source [15], the load reflection coefficient Γ/corresponding to the load [16] and the known s parameters of a tee [23] which are

$\quad\begin{bmatrix} {- \frac{1}{3}} & \frac{2}{3} & \frac{2}{3} \\ \frac{2}{3} & {- \frac{1}{3}} & \frac{2}{3} \\ \frac{2}{3} & \frac{2}{3} & {- \frac{1}{3}} \end{bmatrix}$

(independent of the reference impedance), the signal flow diagram shown in FIG. 5 is constructed. The flow graph in FIG. 5 dictates the following set of relationships:

$\begin{matrix} {{\begin{bmatrix} {{stl}\; 11} & {{stl}\; 12} \\ {{stl}\; 21} & {{stl}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {sa} \\ {tlb} \end{bmatrix}} = \begin{bmatrix} {sb} \\ {tla} \end{bmatrix}} & {{Equation}\mspace{14mu} 8} \\ {{\begin{bmatrix} {{str}\; 11} & {{str}\; 12} \\ {{str}\; 21} & {{str}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {tra} \\ {lb} \end{bmatrix}} = \begin{bmatrix} {la} \\ {trb} \end{bmatrix}} & {{Equation}\mspace{14mu} 9} \\ {{\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} \\ {{sp}\; 21} & {{sp}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {pia} \\ {scb} \end{bmatrix}} = \begin{bmatrix} {pib} \\ {sca} \end{bmatrix}} & {{Equation}\mspace{14mu} 10} \\ {{\begin{bmatrix} {- \frac{1}{3}} & \frac{2}{3} & \frac{2}{3} \\ \frac{2}{3} & {- \frac{1}{3}} & \frac{2}{3} \\ \frac{2}{3} & \frac{2}{3} & {- \frac{1}{3}} \end{bmatrix} \cdot \begin{bmatrix} {tla} \\ {trb} \\ {pib} \end{bmatrix}} = \begin{bmatrix} {tlb} \\ {tra} \\ {pia} \end{bmatrix}} & {{Equation}\mspace{14mu} 11} \\ {{{bs} + {\Gamma \; {s \cdot {sb}}}} = {sa}} & {{Equation}\mspace{14mu} 12} \end{matrix}$

Equation 8, Equation 9, Equation 10, Equation 11 and Equation 12 lead to the following equation:

$\begin{matrix} {{\left\lbrack \begin{matrix} 1 & {{- \Gamma}\; s} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 11} & 1 & 0 & {{- {stl}}\; 12} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 21} & 0 & 1 & {{- {stl}}\; 22} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & \frac{1}{3} & 1 & 0 & {- \frac{2}{3}} & 0 & 0 & 0 & {- \frac{2}{3}} & 0 & 0 \\ 0 & 0 & {- \frac{2}{3}} & 0 & 1 & \frac{1}{3} & 0 & 0 & 0 & {- \frac{2}{3}} & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 11} & 1 & 0 & {{- {str}}\; 12} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 21} & 0 & 1 & {{- {str}}\; 22} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & {{- \Gamma}\; l} & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & {- \frac{2}{3}} & 0 & 0 & {- \frac{2}{3}} & 0 & 0 & 1 & \frac{1}{3} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 11} & 1 & 0 & {{- {sp}}\; 12} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 21} & 0 & 1 & {{- {sp}}\; 22} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- \Gamma}\; {sc}} & 1 \end{matrix} \right\rbrack  \cdot \left\lbrack \begin{matrix} {sa} \\ {sb} \\ {tla} \\ {tlb} \\ {tra} \\ {trb} \\ {la} \\ {lb} \\ {pia} \\ {pib} \\ {sca} \\ {scb} \end{matrix} \right\rbrack} = \left\lbrack \begin{matrix} {bs} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{matrix} \right\rbrack} & {{Equation}\mspace{14mu} 13} \end{matrix}$

Equation 13 can be solved as:

$\begin{matrix} {{\left\lbrack \begin{matrix} 1 & {{- \Gamma}\; s} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 11} & 1 & 0 & {{- {stl}}\; 12} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 21} & 0 & 1 & {{- {stl}}\; 22} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & \frac{1}{3} & 1 & 0 & {- \frac{2}{3}} & 0 & 0 & 0 & {- \frac{2}{3}} & 0 & 0 \\ 0 & 0 & {- \frac{2}{3}} & 0 & 1 & \frac{1}{3} & 0 & 0 & 0 & {- \frac{2}{3}} & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 11} & 1 & 0 & {{- {str}}\; 12} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 21} & 0 & 1 & {{- {str}}\; 22} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & {{- \Gamma}\; l} & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & {- \frac{2}{3}} & 0 & 0 & {- \frac{2}{3}} & 0 & 0 & 1 & \frac{1}{3} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 11} & 1 & 0 & {{- {sp}}\; 12} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 21} & 0 & 1 & {{- {sp}}\; 22} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- \Gamma}\; {sc}} & 1 \end{matrix} \right\rbrack^{- 1} \cdot \left\lbrack \begin{matrix} {bs} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{matrix} \right\rbrack} = \left\lbrack \begin{matrix} {sa} \\ {sb} \\ {tla} \\ {tlb} \\ {tra} \\ {trb} \\ {la} \\ {lb} \\ {pia} \\ {pib} \\ {sca} \\ {scb} \end{matrix} \right\rbrack} & {{Equation}\mspace{14mu} 14} \end{matrix}$

Equation 14 provides the solution for all of the waves propagating in the circuit with respect to bs which is defined as:

$\begin{matrix} {{bs} = \frac{{Vg} \cdot Z_{0}}{{Zs} + Z_{0}}} & {{Equation}\mspace{14mu} 15} \end{matrix}$

Zs (the source impedance [2]) is related to the source reflection coefficient as:

$\begin{matrix} {{\Gamma \; s} = \frac{{Zs} - Z_{0}}{{Zs} + Z_{0}}} & {{Equation}\mspace{14mu} 16} \end{matrix}$

bs is dependent, therefore, on the voltage Vg of the voltage source [1] which is unknown.

Equation 17 shows the relationship of the waves determined by Equation 14 to the actual voltages present in the circuit:

$\begin{matrix} {{\begin{bmatrix} 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 \end{bmatrix} \cdot \sqrt{Z_{0}} \cdot \begin{bmatrix} {sa} \\ {sb} \\ {tla} \\ {tlb} \\ {tra} \\ {trb} \\ {la} \\ {lb} \\ {pia} \\ {pib} \\ {sca} \\ {scb} \end{bmatrix}} = \left\lbrack \begin{matrix} {Vs} \\ {Vtl} \\ {Vtr} \\ {Vl} \\ {Vpi} \\ {Ssc} \end{matrix} \right\rbrack} & {{Equation}\mspace{14mu} 17} \end{matrix}$

Equation 17, therefore, provides the voltages at all nodes of the circuit as a function of bs or using Equation 15, as a function of Vg. In accordance with the present method, the goal is to determine the voltage relationships not the actual voltages themselves specifically, the relationship of all of the voltages present in the circuit with respect to the voltage present at the scope input. All relationships are generated by solving Equation 17 for an arbitrary (non-zero) bs and simply dividing by Vsc:

$\begin{matrix} {\begin{bmatrix} {Hs} \\ {Htl} \\ {Htr} \\ {Hl} \\ {Hpi} \\ {Hsc} \end{bmatrix} = {\begin{bmatrix} {Vs} \\ {Vtl} \\ {Vtr} \\ {Vl} \\ {Vpi} \\ {Vsc} \end{bmatrix} \cdot \frac{1}{Vsc}}} & {{Equation}\mspace{14mu} 18} \end{matrix}$

The transfer functions solved in Equation 9 show the functions that convert the voltage measured at the scope input to the voltage measured at the desired node.

The transfer functions provided by Equation 18 are useful for calculating the voltage actually present at a circuit node due the voltage measured by the scope when the probe is connected to the circuit. In many cases, it is desirable to infer the voltage present at a node due to the voltage measured by the scope were the probe not connected to the circuit. This is calculated by considering the flow diagram in FIG. 6. It is clear that the voltages present at each node are:

$\begin{matrix} {{\begin{bmatrix} 1 & 1 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 1 \end{bmatrix} \cdot \sqrt{Z_{0}} \cdot \begin{bmatrix} 1 & {{- \Gamma}\; s} & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 11} & 1 & 0 & {{- {stl}}\; 12} & 0 & 0 \\ {{- {stl}}\; 21} & 0 & 1 & {{- {stl}}\; 22} & 0 & 0 \\ 0 & 0 & {{- {str}}\; 11} & 1 & 0 & {{- {str}}\; 12} \\ 0 & 0 & {{- {str}}\; 21} & 0 & 1 & {{- {str}}\; 22} \\ 0 & {{- \Gamma}\; s} & 0 & 0 & 0 & 1 \end{bmatrix}^{- 1} \cdot \left\lbrack \begin{matrix} {bs} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{matrix} \right\rbrack} = {\quad\left\lbrack \begin{matrix} {Vs}^{\prime} \\ {Vt}^{\prime} \\ {Vl}^{\prime} \end{matrix} \right\rbrack}} & {{Equation}\mspace{14mu} 19} \end{matrix}$

The transfer function that generates the voltages at circuit nodes with respect the voltage at the scope channel input is given by:

$\begin{matrix} {\begin{bmatrix} {Hs}^{\prime} \\ {Ht}^{\prime} \\ {Hl}^{\prime} \end{bmatrix} = {\begin{bmatrix} {Vs}^{\prime} \\ {Vt}^{\prime} \\ {Vl}^{\prime} \end{bmatrix} \cdot \frac{1}{Vsc}}} & {{Equation}\mspace{14mu} 20} \end{matrix}$

Equation 18 is utilized to generate transfer functions for the display of waveforms that would have been present at the circuit nodes if the probe was not connected to the circuit.

s parameters have been shown as one number for a source or load and as four numbers for a two port device. Actually, as is well known, this representation refers to a single frequency only. In other words, each transfer characteristic element solved for in Equation 18 as shown is a single complex number pertaining to a single frequency. In practice, s parameters are provided for a multitude of frequencies in order to characterize a device. Given s parameters for a given set of frequencies, Equation 18 and/or Equation 20 must be solved for each frequency.

It is advantageous to utilize the solutions to Equation 18 and Equation 20 to build digital filters to be utilized by the oscilloscope to transform the digitized waveform into the waveform pertaining to a given node. While there are many ways to do this, one method will now be described in greater detail.

Given, in accordance with the present method, a transfer function vector H (which represents an arbitrary one of the transfer functions calculated in Equation 18 and Equation 20) consisting of a vector of complex numbers (i.e. the equations were solved for a multitude of frequencies). The vector is length N+1, whereby each element in the vector H_(n), nε[0,N] represents the desired response of the filter to a frequency

$f_{n} = {\frac{n}{N} \cdot {F_{e}.}}$

F_(e) is the last frequency in the vector. In order to generate this response vector, the s parameters provided have been measured or calculated at all of these frequencies.

Before continuing, it is useful to point out some implications of this vector that should be considered in order to generate a useful filter.

First, the vector assumes an equal spacing in frequency from DC to F_(e). It is not always possible to meet these conditions utilizing measurements from a VNA. Usually, the VNA will not generate s parameters for DC. This is easily handled by utilizing the magnitude of the s parameter very close to DC as the DC value or by extrapolation, simulation or calculation.

Second, the selection of the frequency F_(e) should be such that it extends out to the frequencies of interest possible, either to the frequency extent that the circuit can permit or to the frequency extent of the signals being applied.

Thirdly, if equal spacing of frequencies is not possible, interpolation will be necessary to generate intermediate points. Interpolation is a well known technique, but care will be required in that the unwrapped phase needs to be considered in any interpolation. Modern VNAs can be configured to avoid this complexity.

Fourthly, the number of frequency points N+1 coupled with the end frequency F_(e) determines the frequency resolution F_(e)/N. The frequency resolution determines not only the accuracy to which the finite data points represent the system, but very importantly, the time duration of the filter. The time duration will be the reciprocal of the frequency resolution (i.e. N/F_(e)) and clearly must represent a time sufficient for handling all of the signal propagation times in the system. The time duration required will depend on the nature of the circuit, such as the transmission line lengths involved and the degree of impedance mismatch at various circuit points. Time durations of five and ten times the electrical length of the longest transmission line might be required.

Fifthly, The vector H was calculated by dividing voltages—a voltage present in the circuit by a voltage present at the scope input. It is clear that if the voltage present at the scope input at a given frequency is zero, then H_(n) will be infinite at that point. This can occur in pathological cases such as open or shorted transmission line stubs in the circuit, or in situations where the probe has bandwidth insufficient to infer high frequency signals present in the circuit. In such a situation, F_(e) must be chosen to avoid this situation, or a probe with sufficient bandwidth must be utilized. If, as often is the case, the combination of the scope and probe bandwidth is insufficient to match the potential frequency content in the system, the filter responses must be rolled off by multiplication by a filter function, for example. In this situation, the result of the probe compensation will be such that it will produce a substantially correct version of the waveform present at a circuit node within the bandwidth constraints of the probe and the scope. This is often not a serious limitation in that all measurements made are substantially correct to this extent.

Finally, the transfer function of the desired filter will often require future values of the input sequence. This is caused by the fact that that the signal arriving at the scope input is delayed by the probe and its cable and therefore signals occurring inside the circuit often occur earlier in time than the signals digitized. This is not a problem if handled properly and can be handled in many ways. The simplest way to handle this is to prepare the frequency response so that it reflects the response to a time delayed impulse. This is done by selecting a delay time and then remembering this delay and accounting for it in the time placement of the sampled and filtered waveform.

-   -   a. With the aforementioned considerations taken into account,         the vector needs to be prepared for use with an inverse discrete         Fourier transform (IDFT). This is done by treating the vector as         follows:

First, apply the delay:

H _(n) →H _(n) ·e ^(−k·2·π·f) ^(n) ^(·D)  Equation 21

Remember that this will result in a delay time of D that must be accounted for by advancing the final, filtered waveform.

Next, define the elements iε[1,N−1], H_(N+i)= H_(N−i) . This is the mirroring of the complex conjugate of the response about F_(e). Set H_(N)=|H_(N)|. The new vector is K=2. N elements long.

Next, apply a scaling factor to make the IDFT work properly:

$\begin{matrix} \left. H_{n}\rightarrow{\frac{1}{K} \cdot H_{n}} \right. & {{Equation}\mspace{14mu} 22} \end{matrix}$

Finally, Calculate the IDFT as:

$\begin{matrix} {{{h_{k} = {\sum\limits_{n = 0}^{K - 1}{H_{n} \cdot ^{j \cdot 2 \cdot \pi \cdot \frac{n \cdot k}{K}}}}},{k \in \left\lbrack {0,{K - 1}} \right\rbrack}}{{Definition}\mspace{14mu} {of}\mspace{14mu} {the}\mspace{14mu} {IDET}}} & {{Equation}\mspace{14mu} 23} \end{matrix}$

This is the impulse response of a filter that can be utilized directly at a sample rate of Fs=2·Fe:

$\begin{matrix} {y_{k} = {\sum\limits_{\sigma = 0}^{K - 1}{x_{k - \sigma} \cdot h_{\sigma}}}} & {{Equation}\mspace{14mu} 24} \end{matrix}$

Oftentimes, the filter calculated in this manner will not be at the desired sample rate of the system. To account for this, it is converted to the appropriate sample rate through interpolation of the time domain response. An easier, alternative method is to utilize the Chirp Z Transform (CZT) to make the conversion.

$\begin{matrix} {{{C\; Z\; T_{m}} = {\frac{1}{K} \cdot {\sum\limits_{k = 0}^{K - 1}{x_{k} \cdot \left\lbrack {A_{0} \cdot ^{j \cdot 2 \cdot \pi \cdot \theta_{0}} \cdot \left( {W_{0} \cdot ^{j \cdot 2 \cdot \pi \cdot \varphi_{0}}} \right)^{m}} \right\rbrack^{- k}}}}}{{definition}\mspace{14mu} {of}\mspace{14mu} {the}\mspace{14mu} {Chirp}\mspace{14mu} Z\mspace{14mu} {Transform}}} & {{Equation}\mspace{14mu} 25} \end{matrix}$

Equation 25 is utilized to generate the Z transform along an arc in the Z domain. It is used here to generate the Z transform along equi-angularly spaced points along the unit circle (but not the spacing implied by the discrete Fourier transform (DFT)). The goal is to create a filter of L points suitable for use at a sample rate of Fs′. The frequency points are defined for the CZT as M+1 points, where M=L/2, θ₀=0, A₀=1, W₀=1, and

$\varphi_{0} = {\frac{{Fs}^{\prime}}{Fs} \cdot {\frac{1}{L}.}}$

Since the arc is not entirely arbitrary as the CZT allows, Equation 25 becomes:

$\begin{matrix} {{H_{m} = {\frac{1}{L} \cdot {\sum\limits_{k = 0}^{K - 1}{h_{k} \cdot ^{{{- j} \cdot 2 \cdot \pi}{\frac{m \cdot k}{L} \cdot \frac{{Fs}^{\prime}}{Fs}}}}}}},{m \in \left\lbrack {0,M} \right\rbrack}} & {{Equation}\mspace{14mu} 26} \end{matrix}$

It is illustrative to note that were Fs′=Fs and were L=K, Equation 26 would become simply the DFT:

$\begin{matrix} {{H_{n} = {\frac{1}{K} \cdot {\sum\limits_{k = 0}^{K - 1}{h_{k} \cdot ^{{{- j} \cdot 2 \cdot \pi}\frac{n \cdot k}{K}}}}}}{{Definition}\mspace{14mu} {of}\mspace{14mu} {the}\mspace{14mu} {DFT}}} & {{Equation}\mspace{14mu} 27} \end{matrix}$

The frequency of each point in the CZT is:

$\begin{matrix} {{f_{m}^{\prime} = {\frac{m}{M} \cdot \frac{{Fs}^{\prime}}{2}}},} & {{Equation}\mspace{14mu} 28} \end{matrix}$

With the determination of the vector H from Equation 26, all that remains is to calculate the filter by computing the inverse DFT.

First, handle the case where the desired sample rate of the final filter may be higher than the sample rate of the current filter (i.e. Fs′>Fs). If this is the case, there will be unwanted images that must be removed:

$\begin{matrix} {H_{m} = \begin{bmatrix} H_{m} & {{{if}\mspace{14mu} f_{m}^{\prime}} \leq \frac{Fs}{2}} \\ 0 & {otherwise} \end{bmatrix}} & {{Equation}\mspace{14mu} 29} \end{matrix}$

Next, define the elements m′ε[1,M−1], H_(M+m′)= H_(m−m′) . Set H_(M)=|H_(M)|. The new vector is L=2·M elements long.

Finally, Calculate the IDFT as:

$\begin{matrix} {{h_{l}^{\prime} = {\sum\limits_{m = 0}^{L - 1}{H_{m} \cdot ^{j \cdot 2 \cdot \pi \cdot \frac{m \cdot l}{L}}}}},{l \in \left\lbrack {0,{L - 1}} \right\rbrack}} & {{Equation}\mspace{14mu} 30} \end{matrix}$

The resulting filter is a filter that can be utilized at the sample rate F_(s)′ as:

$\begin{matrix} {y_{k} = {\sum\limits_{\sigma = 0}^{L - 1}{x_{k - \sigma} \cdot h_{\sigma}^{\prime}}}} & {{Equation}\mspace{14mu} 31} \end{matrix}$

The filter in Equation 31 is used to convert the digitized waveform x to a new digitized waveform y that is representative of the digitized waveform corresponding to the waveforms present at the nodes in FIG. 5 and FIG. 6 corresponding to the voltage relationships provided in Equation 17 and Equation 19.

Up to this point, only systems where the voltages are referenced to ground (i.e. single-ended systems) have been considered. A much more complicated, but increasingly more important situation is that of differential systems and differential probes.

FIG. 7 is illustrative of a differential system. FIG. 7 is analogous to FIG. 1, but is a differential case. FIG. 7 shows two voltage sources ([26] and [27]) with two source impedances ([28] and [29]) each driving a transmission line ([31] and [32]) that arrives at two loads ([34] and [35]). Note that there is also an impedance shown between the two sources [30] and between the two loads [36]. Usually, it is the intent of such a system to develop a differential voltage as measured between both driving points and to receive this difference at a receiver where the difference in voltage at the end of the transmission line is measured. Usually, it is the circuit designers' intent to drive the minus voltage with an equal and opposite voltage in time with the positive voltage. Such a situation is said to be balanced and in such a situation, there is only a differential mode component transmitted. In cases where the voltage is not balanced, there is said to be a common mode component of the voltage transmitted.

In some cases, the differential transmission line can be viewed as two independent transmission lines, but often (and in reality) they should be viewed as a coupled line. FIG. 7 shows a simplified view of the multiple coupling between the lines indicated by the center transmission line [33]—in reality the situation is more complicated that that shown since each transmission line shown also has a different propagation time.

The signal flow graph representation of FIG. 7 is shown in FIG. 9. FIG. 9 shows the differential source as two single-ended sources ([42] and [43]), a two-port model of the source impedance [44], a four-port model of the transmission line [45], and a two port model of the load [46].

The differential measurement situation is shown in FIG. 8. The probe is shown consisting of a pair of probe tips ([37] and [38]), a probe body [39], and a cable [40] driving a load that is the scope input channel [41]. As in the single-ended situation, the probe is shown breaking the differential transmission line into a left portion and a right portion, with the understanding that FIG. 8 is a simplistic graphical representation of a more complicated situation which will become clearer when the signal flow graphs are introduced.

In accordance with the present method, at the time of differential probe manufacture, the s parameters are measured for the various portions of the probe independently. These are all measured and stored in a machine readable form that is linked in some manner to the part itself. Usually, this is done by placing the s parameters in nonvolatile memory inside the part itself. The same is done for the scope at the time of its manufacture, specifically the reflection coefficient of the scope input channel. At the time that the probe is connected to the scope, the scope obtains all of these s parameters and builds conceptually a signal flow graph as shown in FIG. 10. The s parameters for the portions making up the probe are shown as the tips [47], the body [48] and the cable and connection to the scope [49]. Note that the probe tips [47] form a four-port device (because there are interactions between the tips) and the probe body [48], which contains a differential amplifier, is shown as a three-port device.

The flow graph in FIG. 10 indicates the following set of relationships:

$\begin{matrix} {{\begin{bmatrix} {{spi}\; 11} & {{spi}\; 12} & {{spi}\; 13} & {{spi}\; 14} \\ {{spi}\; 21} & {{spi}\; 22} & {{spi}\; 23} & {{spi}\; 24} \\ {{spi}\; 31} & {{spi}\; 32} & {{spi}\; 33} & {{spi}\; 34} \\ {{spi}\; 41} & {{spi}\; 42} & {{spi}\; 43} & {{spi}\; 44} \end{bmatrix} \cdot \begin{bmatrix} {pipa} \\ {pbpb} \\ {pima} \\ {pbmb} \end{bmatrix}} = \begin{bmatrix} {pipb} \\ {pbpa} \\ {pimb} \\ {pbma} \end{bmatrix}} & {{Equation}\mspace{14mu} 32} \\ {{\begin{bmatrix} {{spb}\; 11} & {{spb}\; 12} & {{spb}\; 13} \\ {{spb}\; 21} & {{spb}\; 22} & {{spb}\; 23} \\ {{spb}\; 31} & {{spb}\; 32} & {{spb}\; 33} \end{bmatrix} \cdot \begin{bmatrix} {pbpa} \\ {pbma} \\ {pob} \end{bmatrix}} = \begin{bmatrix} {pbpb} \\ {pbmb} \\ {poa} \end{bmatrix}} & {{Equation}\mspace{14mu} 33} \\ {{\begin{bmatrix} {{spo}\; 11} & {{spo}\; 12} \\ {{spo}\; 21} & {{spo}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {poa} \\ {scb} \end{bmatrix}} = \begin{bmatrix} {pob} \\ {sca} \end{bmatrix}} & {{Equation}\mspace{14mu} 34} \end{matrix}$

Equation 32, Equation 33, and Equation 34 lead to the following equation:

$\begin{matrix} {{\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 11} & 1 & 0 & {{- {spi}}\; 12} & {{- {spi}}\; 13} & 0 & 0 & {{- {spi}}\; 14} & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 21} & 0 & 1 & {{- {spi}}\; 22} & {{- {spi}}\; 23} & 0 & 0 & {{- {spi}}\; 24} & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 11} & 1 & 0 & 0 & {{- {spb}}\; 12} & 0 & 0 & {{- {spb}}\; 13} & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 31} & 0 & 0 & {{- {spi}}\; 32} & {{- {spi}}\; 33} & 1 & 0 & {{- {spi}}\; 34} & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 41} & 0 & 0 & {{- {spi}}\; 42} & {{- {spi}}\; 43} & 0 & 1 & {{- {spi}}\; 44} & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 21} & 0 & 0 & 0 & {{- {spb}}\; 22} & 1 & 0 & {{- {spb}}\; 23} & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 31} & 0 & 0 & 0 & {{- {spb}}\; 32} & 0 & 1 & {{- {spb}}\; 33} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {spo}}\; 11} & 1 & 0 & {{- {spo}}\; 12} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {spo}}\; 21} & 0 & 1 & {{- {spo}}\; 22} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix} \cdot \begin{bmatrix} {pipa} \\ {pipb} \\ {pbpa} \\ {pbpb} \\ {pima} \\ {pimb} \\ {pbma} \\ {pbmb} \\ {poa} \\ {pob} \\ {sca} \\ {scb} \end{bmatrix}} = {\quad\begin{bmatrix} {bspi} \\ 0 \\ 0 \\ 0 \\ {bsmi} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ {bso} \end{bmatrix}}} & {{Equation}\mspace{14mu} 35} \end{matrix}$

The solution to Equation 35 is given by:

$\begin{matrix} {\begin{bmatrix} {pipa} \\ {pipb} \\ {pbpa} \\ {pbpb} \\ {pima} \\ {pimb} \\ {pbma} \\ {pbmb} \\ {poa} \\ {pob} \\ {sca} \\ {scb} \end{bmatrix} = {\begin{bmatrix} 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 11} & 1 & 0 & {{- {spi}}\; 12} & {{- {spi}}\; 13} & 0 & 0 & {{- {spi}}\; 14} & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 21} & 0 & 1 & {{- {spi}}\; 22} & {{- {spi}}\; 22} & 0 & 0 & {{- {spi}}\; 24} & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 11} & 1 & 1 & 0 & {{- {spb}}\; 12} & 0 & 0 & {{- {spb}}\; 13} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 31} & 0 & 0 & {{- {spi}}\; 32} & {{- {spi}}\; 32} & 1 & 0 & {{- {spi}}\; 34} & 0 & 0 & 0 & 0 \\ {{- {spi}}\; 41} & 0 & 0 & {{- {spi}}\; 42} & {{- {spi}}\; 42} & 0 & 1 & {{- {spi}}\; 44} & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 21} & 0 & 0 & 0 & {{- {spb}}\; 22} & 1 & 0 & {{- {spb}}\; 23} & 0 & 0 \\ 0 & 0 & {{- {spb}}\; 31} & 0 & 0 & 0 & {{- {spb}}\; 32} & 0 & 1 & {{- {spb}}\; 33} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {spo}}\; 11} & 1 & 0 & {{- {spo}}\; 12} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {spo}}\; 21} & 0 & 1 & {{- {spo}}\; 22} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 \end{bmatrix}^{- 1} \cdot {\quad\begin{bmatrix} {bspi} \\ 0 \\ 0 \\ 0 \\ {bsmi} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ {bso} \end{bmatrix}}}} & {{Equation}\mspace{14mu} 36} \end{matrix}$

Equation 36 allows for the solution of an equivalent set of s parameters for the probe given by:

$\begin{matrix} {{\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} & {{sp}\; 13} \\ {{sp}\; 21} & {{sp}\; 22} & {{sp}\; 23} \\ {{sp}\; 31} & {{sp}\; 32} & {{sp}\; 33} \end{bmatrix} \cdot \begin{bmatrix} {pipa} \\ {pima} \\ {scb} \end{bmatrix}} = \begin{bmatrix} {pipb} \\ {pimb} \\ {sca} \end{bmatrix}} & {{Equation}\mspace{14mu} 37} \end{matrix}$

The s parameters in Equation 37 are solved utilizing Equation 36:

$\begin{matrix} {\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} & {{sp}\; 13} \\ {{sp}\; 21} & {{sp}\; 22} & {{sp}\; 23} \\ {{sp}\; 31} & {{sp}\; 32} & {{sp}\; 33} \end{bmatrix} = {\quad\left\lbrack \begin{matrix} \left. \frac{pipb}{pipa} \middle| \begin{matrix} {{bsmi} = 0} \\ {{bso} = 0} \end{matrix} \right. & \left. \frac{pipb}{pima} \middle| \begin{matrix} {{bspi} = 0} \\ {{bso} = 0} \end{matrix} \right. & \left. \frac{pipb}{scb} \middle| \begin{matrix} {{bspi} = 0} \\ {{bsmi} = 0} \end{matrix} \right. \\ \left. \frac{pimb}{pipa} \middle| \begin{matrix} {{bsmi} = 0} \\ {{bso} = 0} \end{matrix} \right. & \left. \frac{pimb}{pima} \middle| \begin{matrix} {{bspi} = 0} \\ {{bso} = 0} \end{matrix} \right. & \left. \frac{pimb}{scb} \middle| \begin{matrix} {{bspi} = 0} \\ {{bsmi} = 0} \end{matrix} \right. \\ \left. \frac{sca}{pipa} \middle| \begin{matrix} {{bsmi} = 0} \\ {{bso} = 0} \end{matrix} \right. & \left. \frac{sca}{pima} \middle| \begin{matrix} {{bspi} = 0} \\ {{bso} = 0} \end{matrix} \right. & \left. \frac{sca}{scb} \middle| \begin{matrix} {{bspi} = 0} \\ {{bsmi} = 0} \end{matrix} \right. \end{matrix} \right\rbrack}} & {{Equation}\mspace{14mu} 38} \end{matrix}$

When a measurement is to be performed, s parameter measurements of the circuit are provided. Given the probe s parameters corresponding to the probe [54] calculated in Equation 38 as

$\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} & {{sp}\; 13} \\ {{sp}\; 21} & {{sp}\; 22} & {{sp}\; 23} \\ {{sp}\; 31} & {{sp}\; 32} & {{sp}\; 33} \end{bmatrix},$

the reflection coefficient Γsc that represents the scope input [55], the s parameters

$\begin{bmatrix} {{stl}\; 11} & {{stl}\; 12} & {{stl}\; 13} & {{stl}\; 14} \\ {{stl}\; 21} & {{stl}\; 22} & {{stl}\; 23} & {{stl}\; 24} \\ {{stl}\; 31} & {{stl}\; 32} & {{stl}\; 33} & {{stl}\; 34} \\ {{stl}\; 41} & {{stl}\; 42} & {{stl}\; 43} & {{stl}\; 44} \end{bmatrix}\mspace{14mu} {{and}\mspace{14mu}\begin{bmatrix} {{str}\; 11} & {{str}\; 12} & {{str}\; 13} & {{str}\; 14} \\ {{str}\; 21} & {{str}\; 22} & {{str}\; 23} & {{str}\; 24} \\ {{str}\; 31} & {{str}\; 32} & {{str}\; 33} & {{str}\; 34} \\ {{str}\; 41} & {{str}\; 42} & {{str}\; 43} & {{str}\; 44} \end{bmatrix}}$

that represent the left portion [50] and right portion [51] of the transmission line [45], the s parameters

$\quad\begin{bmatrix} {{ss}\; 11} & {{ss}\; 12} \\ {{ss}\; 21} & {{ss}\; 22} \end{bmatrix}$

that represent the source impedance [44], the s parameters

$\quad\begin{bmatrix} {{sl}\; 11} & {{sl}\; 12} \\ {{sl}\; 21} & {{sl}\; 22} \end{bmatrix}$

that represent the load [46] and the known s parameters of a tee that represent the positive probe tip connection point [52] and the negative probe tip connection point [53], the signal flow diagram shown in FIG. 11 is constructed. FIG. 11 shows the signal flow diagram representing FIG. 8. Unlike FIG. 8, which is a simplified graphical view of the situation, FIG. 11 is not simplified inasmuch as it considers four port models of the transmission line and two port models load and source impedance without any other simplifying assumptions.

The flow graph in FIG. 11 dictates the following set of relationships:

$\begin{matrix} {{\begin{bmatrix} {{stl}\; 11} & {{stl}\; 12} & {{stl}\; 13} & {{stl}\; 14} \\ {{stl}\; 21} & {{stl}\; 22} & {{stl}\; 23} & {{stl}\; 24} \\ {{stl}\; 31} & {{stl}\; 32} & {{stl}\; 33} & {{stl}\; 34} \\ {{stl}\; 41} & {{stl}\; 42} & {{stl}\; 43} & {{stl}\; 44} \end{bmatrix} \cdot \begin{bmatrix} {spa} \\ {tipb} \\ {sma} \\ {tlmb} \end{bmatrix}} = \begin{bmatrix} {spb} \\ {tlpa} \\ {smb} \\ {tlma} \end{bmatrix}} & {{Equation}\mspace{14mu} 39} \\ {{\begin{bmatrix} {{str}\; 11} & {{str}\; 12} & {{str}\; 13} & {{str}\; 14} \\ {{str}\; 21} & {{str}\; 22} & {{str}\; 23} & {{str}\; 24} \\ {{str}\; 31} & {{str}\; 32} & {{str}\; 33} & {{str}\; 34} \\ {{str}\; 41} & {{str}\; 42} & {{str}\; 43} & {{str}\; 44} \end{bmatrix} \cdot \begin{bmatrix} {trpa} \\ {lpb} \\ {trma} \\ {lmb} \end{bmatrix}} = \begin{bmatrix} {trpb} \\ {lpa} \\ {trmb} \\ {lma} \end{bmatrix}} & {{Equation}\mspace{14mu} 40} \\ {{\begin{bmatrix} {{sp}\; 11} & {{sp}\; 12} & {{sp}\; 13} \\ {{sp}\; 21} & {{sp}\; 22} & {{sp}\; 23} \\ {{sp}\; 31} & {{sp}\; 32} & {{sp}\; 33} \end{bmatrix} \cdot \begin{bmatrix} {pipa} \\ {pima} \\ {scb} \end{bmatrix}} = \begin{bmatrix} {pipb} \\ {pimb} \\ {sca} \end{bmatrix}} & {{Equation}\mspace{14mu} 41} \\ {{\begin{bmatrix} {- \frac{1}{3}} & \frac{2}{3} & \frac{2}{3} \\ \frac{2}{3} & {- \frac{1}{3}} & \frac{2}{3} \\ \frac{2}{3} & \frac{2}{3} & {- \frac{1}{3}} \end{bmatrix} \cdot \begin{bmatrix} {tlpa} \\ {trpb} \\ {pipb} \end{bmatrix}} = \begin{bmatrix} {tlpb} \\ {trpa} \\ {pipa} \end{bmatrix}} & {{Equation}\mspace{14mu} 42} \\ {{\begin{bmatrix} {- \frac{1}{3}} & \frac{2}{3} & \frac{2}{3} \\ \frac{2}{3} & {- \frac{1}{3}} & \frac{2}{3} \\ \frac{2}{3} & \frac{2}{3} & {- \frac{1}{3}} \end{bmatrix} \cdot \begin{bmatrix} {tlma} \\ {trmb} \\ {pimb} \end{bmatrix}} = \begin{bmatrix} {tlmb} \\ {tma} \\ {pima} \end{bmatrix}} & {{Equation}\mspace{14mu} 43} \\ {{\begin{bmatrix} {{sl}\; 11} & {{sl}\; 12} \\ {{sl}\; 21} & {{sl}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {lpa} \\ {lma} \end{bmatrix}} = \begin{bmatrix} {lbp} \\ {lmb} \end{bmatrix}} & {{Equation}\mspace{14mu} 44} \\ {{{\begin{bmatrix} {{ss}\; 11} & {{ss}\; 12} \\ {{ss}\; 21} & {{ss}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {spb} \\ {smb} \end{bmatrix}} + \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}} = \begin{bmatrix} {spa} \\ {sma} \end{bmatrix}} & {{Equation}\mspace{14mu} 45} \\ {{{{sca} \cdot \Gamma}\; {sc}} = {scb}} & {{Equation}\mspace{14mu} 46} \end{matrix}$

Equation 39 through Equation 46 leads to the following equations:

$\begin{matrix} { {\quad{S{\quad {= \left\lbrack \begin{matrix} 1 & {{- {ss}}\; 11} & 0 & 0 & 0 & {{- {ss}}\; 12} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 11} & 1 & 0 & {{- {stl}}\; 12} & {{- {stl}}\; 13} & 0 & 0 & {{- {stl}}\; 14} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 21} & 0 & 1 & {{- {stl}}\; 22} & {{- {stl}}\; 23} & 0 & 0 & {{- {stl}}\; 24} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & \frac{1}{3} & 1 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 \\ 0 & {{- {ss}}\; 21} & 0 & 0 & 1 & {{- {ss}}\; 22} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 31} & 0 & 0 & {{- {stl}}\; 32} & {{- {stl}}\; 33} & 1 & 0 & {{- {stl}}\; 34} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {stl}}\; 41} & 0 & 0 & {{- {stl}}\; 42} & {{- {stl}}\; 43} & 0 & 1 & {{- {stl}}\; 44} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & \frac{1}{3} & 1 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 \\ 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & 1 & {1/3} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {str}}\; 11} & 1 & 0 & {{- {str}}\; 12} & {{- {str}}\; 13} & 0 & 0 & {{- {str}}\; 14} & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {str}}\; 21} & 0 & 1 & {{- {str}}\; 22} & {{- {str}}\; 23} & 0 & 0 & {{- {str}}\; 24} & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sl}}\; 11} & 1 & 0 & 0 & {{- {sl}}\; 12} & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & 1 & \frac{1}{3} & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {str}}\; 31} & 0 & 0 & {{- {str}}\; 32} & {{- {str}}\; 33} & 1 & 0 & {{- {str}}\; 34} & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {str}}\; 41} & 0 & 0 & {{- {str}}\; 42} & {{- {str}}\; 43} & 0 & 1 & {{- {str}}\; 44} & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sl}}\; 21} & 0 & 0 & 0 & {{- {sl}}\; 22} & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & 0 & 1 & \frac{1}{3} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 11} & 1 & {{- {sp}}\; 12} & 0 & 0 & {{- {sp}}\; 13} \\ 0 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 0 & 0 & {{- 2}/3} & 0 & 0 & 0 & 0 & 1 & {{- 1}/3} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 21} & 0 & {{- {sp}}\; 22} & 1 & 0 & {{- {sp}}\; 23} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sp}}\; 31} & 0 & {{- {sp}}\; 32} & 0 & 1 & {{- {sp}}\; 33} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- \Gamma}\; {sc}} & 1 \end{matrix} \right\rbrack}}}}} & {{Equation}\mspace{14mu} 47} \end{matrix}$

$\begin{matrix} {{ab} = \begin{bmatrix} {spa} \\ {spb} \\ {tlpa} \\ {tlpb} \\ {sma} \\ {smb} \\ {tlma} \\ {tlmb} \\ {trpa} \\ {trpb} \\ {lpa} \\ {lpb} \\ {trma} \\ {trmb} \\ {lma} \\ {lmb} \\ {pipa} \\ {pipb} \\ {pima} \\ {pimb} \\ {sca} \\ {scb} \end{bmatrix}} & {{Equation}\mspace{14mu} 48} \\ {{bs} = \begin{bmatrix} {bsp} \\ 0 \\ 0 \\ 0 \\ {bsm} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{bmatrix}} & {{Equation}{\mspace{11mu} \;}49} \\ {V = \begin{bmatrix} {Vs} \\ {Vtl} \\ {Vtr} \\ {Vl} \\ {Vpi} \\ {Vsc} \end{bmatrix}} & {{Equation}{\mspace{11mu} \;}50} \end{matrix}$

$\begin{matrix} {{vd} = \left\lbrack \begin{matrix} 1 & 1 & 0 & 0 & {- 1} & {- 1} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 1 & 1 & 0 & 0 & {- 1} & {- 1} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & {- 1} & {- 1} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 0 & 0 & {- 1} & {- 1} & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & {- 1} & {- 1} & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 \end{matrix} \right\rbrack} & {{Equation}\mspace{14mu} 51} \end{matrix}$

$\begin{matrix} {V = {{vd} \cdot \sqrt{Z_{0}} \cdot S^{- 1} \cdot {bs}}} & {{Equation}\mspace{14mu} 52} \\ {H = {V \cdot \frac{1}{Vsc}}} & {{Equation}\mspace{14mu} 53} \end{matrix}$

Similarly, the signal flow diagram in FIG. 12, which represents the unconnected probe case, dictates the following set of relationships:

$\begin{matrix} {{\begin{bmatrix} {{stl}\; 11} & {{stl}\; 12} & {{stl}\; 13} & {{stl}\; 14} \\ {{stl}\; 21} & {{stl}\; 22} & {{stl}\; 23} & {{stl}\; 24} \\ {{stl}\; 31} & {{stl}\; 32} & {{stl}\; 33} & {{stl}\; 34} \\ {{stl}\; 41} & {{stl}\; 42} & {{stl}\; 43} & {{stl}\; 44} \end{bmatrix} \cdot \begin{bmatrix} {spa} \\ {tpb} \\ {sma} \\ {tmb} \end{bmatrix}} = \begin{bmatrix} {spb} \\ {tpa} \\ {smb} \\ {tma} \end{bmatrix}} & {{Equation}\mspace{14mu} 54} \\ {{\begin{bmatrix} {{str}\; 11} & {{str}\; 12} & {{str}\; 13} & {{str}\; 14} \\ {{str}\; 21} & {{str}\; 22} & {{str}\; 23} & {{str}\; 24} \\ {{str}\; 31} & {{str}\; 32} & {{str}\; 33} & {{str}\; 34} \\ {{str}\; 41} & {{str}\; 42} & {{str}\; 43} & {{str}\; 44} \end{bmatrix} \cdot \begin{bmatrix} {tpa} \\ {lpb} \\ {tma} \\ {lmb} \end{bmatrix}} = \begin{bmatrix} {tpb} \\ {lpa} \\ {tmb} \\ {lma} \end{bmatrix}} & {{Equation}\mspace{14mu} 55} \\ {{\begin{bmatrix} {{sl}\; 11} & {{sl}\; 12} \\ {{sl}\; 21} & {{sl}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {lpa} \\ {lma} \end{bmatrix}} = \begin{bmatrix} {lpb} \\ {lmb} \end{bmatrix}} & {{Equation}\mspace{14mu} 56} \\ {{{\begin{bmatrix} {{ss}\; 11} & {{ss}\; 12} \\ {{ss}\; 21} & {{ss}\; 22} \end{bmatrix} \cdot \begin{bmatrix} {spb} \\ {smb} \end{bmatrix}} + \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}} = \begin{bmatrix} {spa} \\ {sma} \end{bmatrix}} & {{Equation}\mspace{14mu} 57} \end{matrix}$

Equation 54 through Equation 57 lead to the following equations:

$\begin{matrix} {S^{\prime} = \begin{bmatrix} 1 & {{- {ss}}\; 11} & 0 & {{- {ss}}\; 12} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {st}}\; 11} & 1 & {{- {st}}\; 13} & 0 & 0 & {{- {st}}\; 12} & 0 & {{- {st}}\; 14} & 0 & 0 & 0 & 0 \\ 0 & {{- {ss}}\; 21} & 1 & {{- {ss}}\; 22} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ {{- {st}}\; 31} & 0 & {{- {st}}\; 33} & 1 & 0 & {{- {st}}\; 32} & 0 & {{- {st}}\; 34} & 0 & 0 & 0 & 0 \\ {{- {st}}\; 21} & 0 & {{- {st}}\; 23} & 0 & 1 & {{- {st}}\; 22} & 0 & {{- {st}}\; 24} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 11} & 1 & {{- {str}}\; 13} & 0 & 0 & {{- {str}}\; 12} & 0 & {{- {str}}\; 14} \\ {{- {st}}\; 41} & 0 & {{- {st}}\; 43} & 0 & 0 & {{- {st}}\; 42} & 1 & {{- {st}}\; 44} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 31} & 0 & {{- {str}}\; 33} & 1 & 0 & {{- {str}}\; 32} & 0 & {{- {str}}\; 34} \\ 0 & 0 & 0 & 0 & {{- {str}}\; 21} & 0 & {{- {str}}\; 23} & 0 & 1 & {{- {str}}\; 22} & 0 & {{- {str}}\; 24} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sl}}\; 11} & 1 & {{- {sl}}\; 12} & 0 \\ 0 & 0 & 0 & 0 & {{- {str}}\; 41} & 0 & {{- {str}}\; 43} & 0 & 0 & {{- {str}}\; 42} & 1 & {{- {str}}\; 44} \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & {{- {sl}}\; 21} & 0 & {{- {sl}}\; 22} & 1 \end{bmatrix}} & {{Equation}\mspace{14mu} 58} \end{matrix}$

$\begin{matrix} {{ab}^{\prime} = \begin{bmatrix} {spa} \\ {spb} \\ {sma} \\ {smb} \\ {tpa} \\ {tpb} \\ {tma} \\ {tmb} \\ {lpa} \\ {lpb} \\ {lma} \\ {lmb} \end{bmatrix}} & {{Equation}\mspace{14mu} 59} \\ {{bs}^{\prime} = \begin{bmatrix} {bsp} \\ 0 \\ {bsm} \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \\ 0 \end{bmatrix}} & {{Equation}{\mspace{11mu} \;}60} \\ {V^{\prime} = \begin{bmatrix} {Vs}^{\prime} \\ {Vt}^{\prime} \\ {Vl}^{\prime} \end{bmatrix}} & {{Equation}{\mspace{11mu} \;}61} \\ {{vd}^{\prime} = \left\lbrack \begin{matrix} 1 & 1 & {- 1} & {- 1} & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 1 & 1 & {- 1} & {- 1} & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & {- 1} & {- 1} \end{matrix} \right\rbrack} & {{Equation}\mspace{14mu} 62} \\ {{V^{\prime} = {{vd}^{\prime} \cdot \sqrt{Z_{0}} \cdot S^{\prime - 1}}}{\cdot {bs}^{\prime}}} & {{Equation}\mspace{14mu} 63} \\ {H^{\prime} = {V^{\prime} \cdot \frac{1}{Vsc}}} & {{Equation}\mspace{14mu} 64} \end{matrix}$

In order to generate the probe compensation filters, Equation 52 and Equation 63 are solved for the voltages present in the circuit due to bsp and bsm that make up bs (in Equation 49) and bs′ (in Equation 60) and then the transfer function for all filters are calculated using Equation 53 and Equation 64.

The differential case has some particular details that must be handled specially. It is clear that a differential probe measures the voltage difference in a circuit, but the actual voltages present and indicated by the signal flow graph are in actuality referenced to ground. In other words, the differential voltage is the difference between two voltages that are in actuality referenced to ground. It is often useful to think of the voltages present in the circuit not as two single ended voltages, but instead as a voltage consisting of a differential and common-mode component. The intent of the probe is to measure the differential component and to reject the common-mode component. It is usually the circuit designer's intent to transmit a differential voltage and to not transmit any common-mode components, but unintentional common mode components will occur. In the solutions of the single-ended case, I used an arbitrary, non-zero value bs that was suitable for solving for the voltage relationships in the circuit and probe, but in the differential case, this is no longer possible since there are two different values bsm and bsp that contribute to the voltages present in the circuit. While either bsm or bsp can be chosen arbitrarily (non-zero), the relationship between them is not arbitrary and must be specified. There are a few ways to go about determining this relationship.

The first way is when the differential probe is being utilized in a single-ended measurement situation. This situation occurs when a differential probe is utilized with either of its two tips connected to ground. In this situation, its intent is to truly measure the voltage to ground. This situation is dealt with by simply setting bsm=0 or bsp=0, depending on which tip is connected to ground. Note that in this situation, the s parameters for the system would reflect the single ground referenced transmission line under test.

The second way is to assume balanced drive. In most cases, this is a good approximation of how the system is driven. In this case, set bsm=−bsp. The compensation filters will be valid only to the extent that the balanced drive condition is met. Its validity, however, will not depend on common mode components set up in the system due to mode conversion within the circuit under balanced drive conditions, because these are properly accounted for in the flow graph and equations.

Finally, the degree of balance can be measured. This is accomplished by taking measurements of the source driving a known load. This could be done, for example, by simply driving a differential step from the source and acquiring the plus and minus source step on an oscilloscope. A transfer function H_(bsp→bsm)(s) is thereby calculated that converts bsp to bsm. During the solution of the aforementioned equations, an arbitrary (non-zero) value would be chosen for bsp and bsm is chosen as:

bsm=bsp·H _(bsp→bam)(j·2·π·f)  Equation 65

Equation 65 accounts for balance of frequency components, but would not account for changes in source balance over time.

As mentioned previously, the equations presented give solutions for a single frequency. All frequencies are solved and the resulting frequency response is converted to a filter for implementation as previously discussed.

Many probe compensation situations have thus been described. The single-ended measurement with a single-ended probe, the differential measurement with a differential probe and the single-ended measurement with the differential probe. Many other variations can utilize these same techniques described, but it is important to specifically point out two others.

The first is shown in FIG. 13. FIG. 13 is a variation on FIG. 11 in that a six-port model [56] replaces the two tees [52] and [53]. The intent here is that the exact six port measurement of the probe connection to the circuit can be measured or calculated in order to supplant the tee usage, were this found to be inadequate. It is advantageous to use a model such as [56] when s parameter measurements can be made of the probe in the exact environment in which it used in a circuit. As such, this method treats the probe and probe connection in the measurement as opposed to previously described methods which treat the probe tips as the interface.

The second is shown in FIG. 14. This is a case of utilizing two single ended probes [57] and [59] applied to two scope inputs [58] and [60]. This flow diagram is solved in a manner as already demonstrated to obtain values for the voltages in the system as in Equation 52. It is obvious from the previous examples how to do this. Examining how Equation 52 comes about reveals that the equation can always be reduced to the form of:

$\begin{matrix} {V = {A \cdot \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}}} & {{Equation}\mspace{14mu} 66} \end{matrix}$

This is done by simply removing the columns of vd·√{square root over (Z₀)}·S⁻¹ corresponding to the columns in bs that are zero. A is therefore a matrix with two columns and a number of rows corresponding to the rows in V. In this manner, a single voltage in the system can be written as:

$\begin{matrix} {v = {\begin{bmatrix} a_{p} & a_{m} \end{bmatrix} \cdot \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}}} & {{Equation}\mspace{14mu} 67} \end{matrix}$

The voltages at the two scope inputs can also be written as:

$\begin{matrix} {\begin{bmatrix} {Vscp} \\ {Vscm} \end{bmatrix} = {\begin{bmatrix} b_{pp} & b_{pm} \\ b_{mp} & b_{mm} \end{bmatrix} \cdot \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}}} & {{Equation}\mspace{14mu} 68} \end{matrix}$

Therefore, the transfer function of the filter would be determined by the following equations:

$\begin{matrix} {{H \cdot \begin{bmatrix} {Vscp} \\ {Vscm} \end{bmatrix}} = v} & {{Equation}\mspace{14mu} 69} \end{matrix}$

Or:

$\begin{matrix} {{H \cdot \begin{bmatrix} b_{pp} & b_{pm} \\ b_{mp} & b_{mm} \end{bmatrix} \cdot \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}} = {\begin{bmatrix} a_{p} & a_{m} \end{bmatrix} \cdot \begin{bmatrix} {bsp} \\ {bsm} \end{bmatrix}}} & {{Equation}\mspace{14mu} 70} \end{matrix}$

And therefore:

$\begin{matrix} {H = {{\begin{bmatrix} a_{p} & a_{m} \end{bmatrix} \cdot \begin{bmatrix} b_{pp} & b_{pm} \\ b_{mp} & b_{mm} \end{bmatrix}^{- 1}} = \begin{bmatrix} H_{p} & H_{m} \end{bmatrix}}} & {{Equation}\mspace{14mu} 71} \end{matrix}$

Equation 69 and Equation 71 imply correctly that in this situation, the desired waveform is a function of the waveform acquired on each of the scope inputs. Specifically, the desired waveform is the sum of two filtered waveforms acquired by the two scope channels. In this situation, unlike the single differential probe situations, no assumptions are required that relate bsp and bsm. As such, the configuration in FIG. 14 is suitable for determination of positive, negative, differential, common-mode etc. voltage components without assumptions made regarding the balance of the source.

Many probing configurations and compensation methods have been provided. All of these methods assume the knowledge of the s parameters that define the system. It is clear that the accuracy of these compensation methods depend on the accuracy of the s parameters provided, but it should also be clear that the probe compensation is beneficial even when less than perfect statements can be made regarding the system s parameters. For example, if the circuit designer knows that he has a transmission line with certain characteristic impedance, certain loss characteristics, and certain lengths, he can still make use of this algorithm by providing s parameters of the circuit element models. Similarly, assumptions of matched loads, matched sources etc. will still often lead to probe compensations that result in improved accuracy over previously used methods.

Furthermore, the methods set forth here provide for analysis of errors that might be introduced with respect to errors in the models. For example, users can often provide error bounds on circuit element measurements either as peak errors or standard deviations. Similarly, scope and probe manufacturers know similar error bounds on the probe and scope parameter measurements. Using the methods set forth, these error bounds can be utilized in, for example, a Monte-Carlo analysis, to produce compensated waveforms that allow analysis of the effects of errors on the time domain waveforms produced.

As many possible circuit topologies have been calculated, the method of calculating the probe compensation filters for arbitrary configurations and topologies should now be understood. A MathCad spreadsheet consisting of a four page calculation is shown in FIG. 15 through FIG. 18 is provided to show how to handle arbitrary configurations and topologies. Once a topology is known, the equations are filled in and solved using the helper functions provided to generate the filter transfer characteristics.

Up until this point, many various circuit topologies have been shown. Now, a method of handling completely arbitrary circuit topologies is provided.

Consider that, based on the topologies exemplified, a generic system definition consists of a text file definition that defines a picture of a system. The system definition preferably provides all of the information that defines:

The devices in a system, where a device is defined by a name, a number of ports, and the device characteristics (i.e. a set of s parameters).

The nodes in a system, where a node is defined as a connection between ports of devices.

The stimulus in a system, where a stimulus is defined as a name and a device port from which the stimulus emanates.

The measurement nodes, defined as signals that will be acquired.

The output nodes, defined as signals that will be produced.

A stimulus definition that will match the degrees of freedom in the system defined by the number of stimuli to the degrees of freedom defined by the number of measurement nodes.

From this generic system definition, the goal is to generate filters that, when applied to waveforms actually acquired at the measurement nodes into waveforms that appear at the output nodes.

It is assumed here that a picture of system (that contains all of the information above) is equivalent to a text file system description that contains the same information. The linkage between the text file system description and the picture is traditionally thought of as being one of net list generation. In other words, computer aided design (CAD) tools that generate pictorial circuit and system definitions convert to an equivalent text file definition through generation of a net list. The generation of a net list from the picture is a trivial matter. This embodiment will consider the conversion of a system description in text file form.

Given a system description file, the preferred steps in parsing this file are:

Count the device declarations and node declarations.

Dimension an array of devices descriptions (Devices) to the number of devices counted. A device description consists of a name and a set of s parameters (the name and s parameters for device d is accessed as Devices[d].Name, Devices[d].S), and is an array of ports (port p of device d is accessed as Devices[d][p]). A port consists of both an A and B node connection along with a stimulus connection (these are accessed for port p of device d as Devices[d][p].A, Devices[d][p].B, and Devices[d][p].Stim).

For each device declaration, dimension device d to the number of ports P declared for the device (i.e. Devices[d] becomes a P element array of ports).

For each device declaration, assign the s parameters to the device (i.e. assign Devices[d].S). The s parameters come from a file (i.e. Touchstone format) or from some other specification. The s parameters are interpolated to match the desired frequency resolution.

For each node declaration, take the node name (or create a unique node name) and add a “1” and a “2” creating two node names. Since the node declaration declares the node (named NodeName) connection from a device (named FromName) port (numbered FromPort) to another device (named ToName) port (numbered ToPort), the assignment is:

a. Devices[index(FromName,Devices)][FromPort−1].A=NodeName+“1”

b. Devices[index(FromName,Devices)][FromPort−1].B=NodeName+“2”

c. Devices[index(ToName,Devices)][ToPort].A=NodeName+“2”

d. Devices[index(ToName,Devices)][ToPort].B=NodeName+“1”

Where index(name,array) is a function that determines the index d such that array[d].Name==name .

For each stimulus declaration, that provides a name (Name), a device name (DeviceName) and a port number (PortNum), assign Devices[index(DeviceName,Devices)][Portnum−1].Stim=Name . Also, place the stimulus name in a vector of names M′.

Place each name declared as a measurement node in a vector of names VM .

Place each name declared as an output node in a vector of names VO.

Convert the stimulus definition declaration by creating a vector of names D of the free stimuli and a matrix R that defines the relationship of D to M′ (i.e. R D=M′).

At this point, the information contained in Devices contains a complete definition of the system, its connections, and its behavior. VM, VO contain the names of input and output nodes. D, R and M′ contain the relationships of stimuli in the system.

The next step is to create vectors containing the stimuli names and voltage node names. This is done by first determining the total number of ports (ports) as the sum of all of the device ports in the system.

$\left( {{i.e.\mspace{14mu} {ports}} = {\sum\limits_{d = 0}^{{{Devices} \cdot {Elements}} - 1}{{{Devices}\lbrack d\rbrack} \cdot {Elements}}}} \right).$

By visiting each device, and each port in each device in order, the voltage node names vector N and the stimuli name vector M is filled in:

$\begin{matrix} {{\left. i\leftarrow 0 \right.{{for}\mspace{14mu} d} \in {{0\mspace{14mu} \ldots \mspace{14mu} {{Devices} \cdot {Elements}}} - 1}}\left\{ \begin{matrix} {{{for}\mspace{14mu} p} \in {{0\mspace{14mu} \ldots \mspace{14mu} {{{Devices}\lbrack d\rbrack} \cdot {Elements}}} - 1}} \\ \left. {N\lbrack i\rbrack}\leftarrow{{{{Devices}\lbrack d\rbrack}\lbrack p\rbrack} \cdot B} \right. \\ \left. {M\lbrack i\rbrack}\leftarrow{{{{Devices}\lbrack d\rbrack}\lbrack p\rbrack} \cdot {Stim}} \right. \\ \left. i\leftarrow{i + 1} \right. \end{matrix} \right.} & {{Equation}\mspace{14mu} 72} \end{matrix}$

Note that the number of elements in N and M is Ports. If there is no stimulus for a device port, the element in M is empty. M now contains a Ports element vector whose elements are either empty, or contain the name of a stimulus applied to the system. N now contains a Ports element vector whose elements contain all of the nodes defined in the system. Each element of N must be defined and have a unique name.

The next step in converting such a system description into filters is to, for each frequency of interest, generate a matrix S_(inv). This is performed as follows, for each frequency of interest n, nε[0,N] (i.e. N is the last frequency point of interest)

$\begin{matrix} {{{{for}\mspace{14mu} n} \in {0\mspace{14mu} \ldots \mspace{14mu} N}}\left\{ \begin{matrix} {{{for}\mspace{14mu} d} \in {{0\mspace{14mu} \ldots \mspace{14mu} {{Devices} \cdot {Elements}}} - 1}} \\ \left\{ \begin{matrix} {{{for}\mspace{14mu} p} \in {{0\mspace{14mu} \ldots \mspace{14mu} {{{Devices}\lbrack d\rbrack} \cdot {Elements}}} - 1}} \\ \left\{ \begin{matrix} \left. r\leftarrow{{index}\left( {{{{{Devices}\lbrack d\rbrack}\lbrack p\rbrack} \cdot B},N} \right)} \right. \\ \left. {{S\lbrack r\rbrack}\lbrack r\rbrack}\leftarrow 1.0 \right. \\ {{{for}\mspace{14mu} c} \in {{0\mspace{14mu} \ldots \mspace{14mu} {{{Devices}\lbrack d\rbrack} \cdot {Elements}}} - 1}} \\ \left\{ {{S\lbrack r\rbrack}\left\lbrack {{index}\left( {{{{{Devices}\lbrack d\rbrack}\lbrack c\rbrack} \cdot A},N} \right\rbrack}\leftarrow{{- {{Devices}\lbrack d\rbrack}} \cdot {{{S\lbrack n\rbrack}\lbrack p\rbrack}\lbrack c\rbrack}} \right.} \right. \end{matrix} \right. \end{matrix} \right. \\ \left. {S_{inv}\lbrack n\rbrack}\leftarrow S^{- 1} \right. \end{matrix} \right.} & {{Equation}\mspace{14mu} 73} \end{matrix}$

Note that in Equation 73, since S accesses the s parameters for a device, S[n][p][c] accesses the element at row p , column c of the s parameter matrix corresponding to frequency element n .

At this point, S_(inv) is an N+1 element vector of matrices where at each frequency point n, the following equation is obeyed:

S _(inv) [n]·M=N  Equation 74

By removing the rows of M that are empty, and reordering M, one arrives at M′. Similarly, when the columns of S_(inv)[n] corresponding to the empty rows of M are removed and the columns are reordered in the same manner as the rows of M were to arrive at M′, S′_(inv)[n] is produced such that:

S′ _(inv) [n]·M′=N  Equation 75

Thus if Stims is the number of stimuli, the number of elements in M′, and recalling that Ports is the total number of device ports in the system, then S′_(inv)[n] is a Ports x Stims matrix. N is a Ports element vector.

A vector V is formed containing all of the names of the voltage nodes declared previously. The number of nodes (Nodes), the number elements in V, is half of Ports. All of the names in V are found in N with either a “1” or “2” appended to the name. It is well known in dealing with s parameters that the incident power wave on an interface is defined in terms of the voltage (v), current (i), and real reference impedance (Z0) as:

$\begin{matrix} {a = \frac{v + {{i \cdot Z}\; 0}}{2\sqrt{Z\; 0}}} & {{Equation}\mspace{14mu} 76} \end{matrix}$

Similarly, the reflected power wave from an interface is defined as:

$\begin{matrix} {b = \frac{v - {{i \cdot Z}\; 0}}{2\sqrt{Z\; 0}}} & {{Equation}\mspace{14mu} 77} \end{matrix}$

Therefore, the voltage is defined by the power waves as:

$\begin{matrix} {v = \frac{a + b}{\sqrt{Z\; 0}}} & {{Equation}\mspace{14mu} 78} \end{matrix}$

Since N contains the power waves, a voltage extraction matrix that converts N into voltage vector V is created such that:

VE·N=V  Equation 79

VE is a Nodes×Ports element matrix and is created simply by putting a 1 in each row and column where V[row] with either a “1” or “2” appended is found in N[column]. The resulting VE is divided by √{square root over (2)} (although this falls out eventually, anyway). Substituting Equation 79 into Equation 75:

VE·S′ _(inv) [n]·M′=V  Equation 80

Remember, we already have the following relationship:

R·D=M′  Equation 81

D has a number elements which represent the degrees of freedom in the system (Degrees) and R is a Stims×Degrees element matrix.

Substituting Equation 81 into Equation 80:

VE·S′ _(inv) [n]·R·D=V  Equation 82

Define a new matrix:

VS[n]=VE·S′ _(inv) [n]·R  Equation 83

VS is a Nodes x Degrees element matrix. Substituting Equation 83 into Equation 82:

VS[n]·D=V  Equation 84

We have already defined two vectors VM and VO that contain the names of the measurement and output nodes, respectively. VM has a length equal to the number of measurement nodes (Meas) and VO has a length equal to the number of output nodes (Outputs). Note that both of these vectors contain names found in V, allowing two matrices VSM and VSO to be defined such that:

VSM[n]·D=VM  Equation 85

VSO[n]·D=VO  Equation 86

VSM is created by placing each row of VS corresponding to an element of V found in VM at the row number corresponding to the element in VM. In other words for each row rvm in VM, we find the corresponding row rv, such that V[rv]=VM[rvm] and we fill in the row rvm of VSM with the row ry of VS. VSO is created in a similar manner using VO.

VSM is a Meas×Degrees element matrix.

VSO is a Outputs×Degrees element matrix.

If Meas=Degrees, we have a properly constrained system and we can solve Equation 85:

D=VSM[n] ⁻¹ ·VM  Equation 87

Otherwise, if Meas>Degrees, we have an over constrained system, and we can solve Equation 85, in a least mean squared error sense, as follows:

D=(VSM[n] ^(T) ·VSM[n])⁻¹ ·VSM[n] ^(T) ·VM  Equation 88

In the properly constrained case, we substitute Equation 87 into Equation 86:

VSO[n]·VSM[n] ⁻¹ ·VM=VO

Therefore, a frequency response of a filter can be defined that converts the measured node voltage VM into the desired output voltage VO is defined:

H[n]=VSO[n]·VSM[n] ⁻¹  Equation 89

In the over constrained case, the frequency response becomes:

H[n]=VSO[n]·(VSM[n] ^(T) ·VS M[n])⁻¹ ·VSM[n] ^(T)  Equation 90

Thus, regardless of whether the system is properly or over constrained, either Equation 89 or Equation 90 defines the frequency response of a system such that:

H[n]·VM=VO  Equation 91

This calculation is repeated for each frequency point n until a complete filter frequency response has been built up. Thus if m is an index into the names of measurement nodes such that VM[m] is the name of the measurement node m, and o is an index into the names of output nodes such that VO[o] is the name of an output node, then H[n][o][m] is a complex value representing the response of a filter to be applied to measurement node m to produce output node o at frequency point n. The actual filter output to produce output node at frequency point n is:

$\begin{matrix} {{{VO}\lbrack o\rbrack} = {\sum\limits_{m = 0}^{{Meas} - 1}{{{{H\lbrack n\rbrack}\lbrack o\rbrack}\lbrack m\rbrack} \cdot {{VM}\lbrack m\rbrack}}}} & {{Equation}\mspace{14mu} 92} \end{matrix}$

This response generated from Equation 89 or Equation 90 is either utilized using frequency domain filtering methods, or is converted to time domain impulse responses using the inverse FFT or other well known methods of finite impulse response (FIR) or infinite impulse response (IIR) filter design methods.

It should be noted that if the number of measurement nodes is unity, then the filter will have a topology that all skilled in the art of digital signal processing are familiar with—a filter that produces a single output waveform from a single input waveform. If the number of measurement nodes is greater than unity, however, the topology of the filter that produces any one output waveform from the input waveforms is one whereby a filter is applied to each of the measured waveforms and the result of each filter is summed to form the output waveform.

A few practical considerations are worth noting. First, the number of frequency points and their locations should be chosen judiciously to favor various techniques for conversion to time domain filters. In many cases, it is advantageous to interpolate the s parameters onto a gainful frequency scale.

Another consideration involves the invertibility of the matrices in Equation 89 and Equation 90. There will be problems at frequency locations where an output voltage is desired at a frequency where no frequency content arrives at a measurement node. This can be handled through bandwidth limiting, or restricting the frequency response range, in these cases. Similarly, even if the matrices are invertible, the gain of the filters can become too high resulting in unacceptable performance. The comment on limiting frequencies of operation still applies in this case, as well.

Equation 91 demonstrates that filters can be generated that convert measured voltages in a system into output voltages. It also shows that if output voltages and measured voltages can be acquired simultaneously with a variety of measured voltages, it is possible to work backwards to measure the desired filter responses. This is done by creating a number of measurement cases at least equal to the number of measurement nodes (Cases≧Meas), and for each case, measuring the voltages at the measurement nodes and the output nodes at a given frequency. In other words for a measurement case c, cε0 . . . Cases−1, then VMC[n][m][c]is assigned with the voltage measured for frequency n at measurement node m for case c . Similarly, VOC[n][o][c] is assigned with the voltage measured simultaneously for frequency n at output node o for case c . Then, for Cases=Meas , the filter response can be calculated as:

H[n]=VOC[n]·VMC[n] ⁻¹  Equation 93

In the situation where Cases>Meas , then the filter response can be calculated as:

H[n]=VOC[n]·VMC[n] ^(T)·(VMC[n]·VMC[n] ^(T))⁻¹  Equation 94

It is obvious that the filter response can be calculated only if VMC[n] (or VMC[n]·VMC[n]^(T)) is invertible, meaning that the measurement cases generate orthogonal sets of equations. In a physical sense, when the matrix can't be inverted, it means one of several possibilities that are easily dealt with. It can mean that an output does not depend on one of the input voltages, meaning that the system of equations can be reduced by excluding the offending measurement node. Or it can mean that no voltage can be generated at a given frequency at one of the measurement nodes (a common situation in systems with standing waves, where nulls occur at various locations, or in systems with serial data signals where there will be nulls in the frequency content), but this means, again, that either the measurement node or the frequency point can be excluded (if a frequency point is excluded, the response is set to some arbitrary value (usually zero) that does not affect things anyway because no voltage can be generated at that frequency. In this case, the filter may be fully useful only for a particular serial data transmission rate.

Based on this description of a preferred embodiment, many benefits of these methods should be readily apparent and worth pointing out.

These methods are capable of compensating for effects of probing and measurement in a system, including the removal of probe loading effects and the compensation for non-ideal probe and measurement instrument response. These methods can be utilized to produce waveforms, based on acquired or simulated waveforms, that show waveforms present in situations where the measurement equipment is not connected to the circuit. These methods can be utilized to show waveforms at circuit locations other than the locations probed (again, under circumstances with and without the measurement equipment connected) and at physically inaccessible locations. These methods can be utilized to compensate probes in situations where differential probes are utilized in a single-ended measurement configuration (i.e. one tip is connected to ground) and in situations where multiple single-ended probes are utilized to make differential measurements. These methods can be utilized to measure waveforms at circuits and circuit locations that are completely virtual, meaning that, provided with an accurate system description, these methods can produce output waveforms in circuits and circuit locations that are not physically present during the measurement. The demonstrated and disclosed capability of this method to handle virtually arbitrary measurement and circuit considerations anticipates a wide variety of application. 

1-71. (canceled)
 72. A method for generating one or more transfer functions for converting waveforms, comprising the steps of: determining a system description, representative of a circuit, comprising a plurality of system components, at least one of the system components comprising a differential transmission line, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit; determining one or more transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes; and storing the generated transfer functions in a computer readable medium; whereby a transfer function of the one or more transfer functions is adapted to produce a waveform that is a substantially correct representation of a waveform that would be present at the location in the circuit represented by the at least one output node in accordance with at least one or more waveforms that would be present at the one or more measurement nodes.
 73. The method of claim 72, whereby selection of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of the system component comprising the differential transmission line are removed.
 74. The method of claim 72, whereby selection of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of any desired system component are removed.
 75. The method of claim 74, wherein the desired system component comprises a channel element.
 76. The method of claim 72, wherein the system description includes an oscilloscope.
 77. The method of claim 72, wherein the system description includes models of a voltage source input to the circuit.
 78. The method of claim 77, whereby selection of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of the system component comprising the voltage source input to the circuit are removed.
 79. The method of claim 77, wherein the model comprising the voltage source input to the circuit comprises at least in part an S-parameter.
 80. The method of claim 79, wherein the transfer function is determined in accordance with the removal of the S-parameter representative of the voltage source input to the circuit.
 81. The method of claim 72, wherein the system description includes models of a load of the circuit.
 82. The method of claim 81, whereby selection of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of the system component comprising the load of the circuit are removed.
 83. The method of claim 82, wherein the load of the circuit comprises probe loading effects.
 84. The method of claim 81, wherein the model comprising the load of the circuit comprises at least in part an S-parameter.
 85. The method of claim 84, wherein the transfer function is determined in accordance with the removal of the S-parameter representative of the load of the circuit.
 86. A method for generating one or more transfer functions for converting waveforms, comprising the steps of: determining a system description, representative of a circuit, comprising a plurality of system components, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit; determining one or more transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes; and storing the generated transfer functions in a computer readable medium; whereby a transfer function of the one or more transfer functions is adapted to produce a waveform that is a substantially correct representation of a waveform that would be present at the location in the circuit represented by the at least one output node in accordance with at least one or more waveforms that would be present at the one or more measurement nodes.
 87. The method of claim 86, wherein the circuit element not physically present in the circuit comprises a differential transmission line.
 88. The method of claim 86, wherein the circuit element not physically present in the circuit comprises a channel element.
 89. The method of claim 88, wherein the channel element comprises an input channel of an oscilloscope.
 90. The method of claim 88, wherein the channel element comprises an output channel of an oscilloscope.
 91. A method for generating one or more transfer functions for converting waveforms, comprising the steps of: determining a system description, representative of a circuit, comprising a plurality of system components, and including at least one system component that is not physically present in the circuit, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit; determining one or more first transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes; and storing the generated first transfer functions in a computer readable medium; modifying the system description to relocate at least one of the at least one output nodes, determining one or more second transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the relocated at least one output nodes; and storing the generated second transfer functions in a computer readable medium; whereby a transfer function of the one or more first and second transfer functions is adapted to produce a waveform that is a substantially correct representation of a waveform that would be present at the location in the circuit, including the circuit element not physically present in the circuit, represented by the at least one output node in accordance with at least one or more waveforms that would be present at the one or more measurement nodes.
 92. The method of claim 91, wherein the relocated one of the at least one output nodes is relocated to an arbitrary location in the system description.
 93. A method for generating a waveform, comprising the steps of: determining a system description in accordance with a circuit under test comprising a plurality of system components, each system component comprising at least one component characteristic; determining one or more transfer functions for converting a waveform at a measurement node at one location in the circuit under test to a waveform at an output node of the circuit under test; receiving a waveform; generating a waveform at the output node in accordance with the one or more transfer functions corresponding to the relationship between the one or more measurement nodes and the one or more output nodes; and storing the generated waveform to a computer readable storage medium; wherein the output node is location at a portion of a corresponding circuit equivalent to the circuit but as if the probe were not attached, thereby removing any probe loading effects.
 94. An apparatus for generating one or more transfer functions for converting waveforms, comprising: a controller, the controller adapted to: determine a system description, representative of a circuit, comprising a plurality of system components, at least one of the system components comprising a differential transmission line, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit; and determine one or more transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes; whereby a transfer function of the one or more transfer functions is adapted to produce a waveform that is a substantially correct representation of a waveform that would be present at the location in the circuit represented by the at least one output node in accordance with at least one or more waveforms that would be present at the one or more measurement nodes.
 95. The apparatus of claim 94, whereby selection by the controller of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of the system component comprising the differential transmission line are removed.
 96. The apparatus of claim 94, whereby selection by the controller of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of any desired system component are removed.
 97. The apparatus of claim 96, wherein the desired system component comprises a channel element.
 98. The apparatus of claim 94, wherein the system description includes an oscilloscope.
 99. The apparatus of claim 94, wherein the system description includes models of a voltage source input to the circuit.
 100. The apparatus of claim 99, whereby selection of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of the system component comprising the voltage source input to the circuit are removed.
 101. The apparatus of claim 99, wherein the model comprising the voltage source input to the circuit comprises at least in part an S-parameter.
 102. The apparatus of claim 101, wherein the transfer function is determined in accordance with the removal of the S-parameter representative of the voltage source input to the circuit.
 103. The apparatus of claim 94, wherein the system description includes models of a load of the circuit.
 104. The apparatus of claim 103, whereby selection by the controller of the one or more of the at least one measurement nodes and the at least one output node result in a determined transfer function that produces a waveform at the location in the circuit represented by the at least one output node such that the effects of the system component comprising the load of the circuit are removed.
 105. The apparatus of claim 104, wherein the load of the circuit comprises probe loading effects.
 106. The apparatus of claim 103, wherein the model comprising the load of the circuit comprises at least in part an S-parameter.
 107. The apparatus of claim 106, wherein the transfer function is determined in accordance with the removal of the S-parameter representative of the load of the circuit.
 108. An apparatus for generating one or more transfer functions for converting waveforms, comprising: a controller, the controller adapted to: determine a system description, representative of a circuit, comprising a plurality of system components, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit; and determine one or more transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes; and whereby a transfer function of the one or more transfer functions is adapted to produce a waveform that is a substantially correct representation of a waveform that would be present at the location in the circuit represented by the at least one output node in accordance with at least one or more waveforms that would be present at the one or more measurement nodes.
 109. The apparatus of claim 108, wherein the circuit element not physically present in the circuit comprises a differential transmission line.
 110. The apparatus of claim 108, wherein the circuit element not physically present in the circuit comprises a channel element.
 111. The apparatus of claim 110, wherein the channel element comprises an input channel of an oscilloscope.
 112. The apparatus of claim 110, wherein the channel element comprises an output channel of an oscilloscope.
 113. An apparatus for generating one or more transfer functions for converting waveforms, comprising: a controller, the controller adapted to: determine a system description, representative of a circuit, comprising a plurality of system components, and including at least one system component that is not physically present in the circuit, each system component comprising at least one component characteristic, the system description further comprising at least one measurement node and at least one output node, each of the at least one measurement nodes representative of a waveform digitizing location in the circuit; determine one or more first transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the at least one output nodes; modify the system description to relocate at least one of the at least one output nodes, and determine one or more second transfer functions for converting a waveform from one or more of the at least one measurement nodes to a waveform at one or more of the relocated at least one output nodes; and whereby a transfer function of the one or more first and second transfer functions is adapted to produce a waveform that is a substantially correct representation of a waveform that would be present at the location in the circuit, including the circuit element not physically present in the circuit, represented by the at least one output node in accordance with at least one or more waveforms that would be present at the one or more measurement nodes.
 114. The apparatus of claim 113, wherein the relocated one of the at least one output nodes is relocated to an arbitrary location in the system description.
 115. An apparatus for generating a waveform, comprising: an input channel for receiving a waveform; and a controller, the controller adapted to: determine a system description in accordance with a circuit under test comprising a plurality of system components, each system component comprising at least one component characteristic; and determine one or more transfer functions for converting a waveform at a measurement node at one location in the circuit under test to a waveform at an output node of the circuit under test; generate a waveform at the output node in accordance with the input waveform and one or more transfer functions corresponding to the relationship between the one or more measurement nodes and the one or more output nodes; wherein the output node is location at a portion of a corresponding circuit equivalent to the circuit but as if the probe were not attached, thereby removing any probe loading effects. 